why java does not support multiple inheritance

Answer Posted / ouali international

Multiple inheritance in Java is not allowed directly simply
because Java has another concept of Interfaces that replace
the ambiguity of this problem in other OOP languages such
as C++.

Is This Answer Correct ?    9 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is return code?

566


hr interview how many minutes asking question

1575


When do you get classcastexception?

560


What should I import for arraylist in java?

523


Why do we need hashmap in java?

568






Explain the difference between call by refrence and call by value?

572


What is Major and importance difference between for and foreach loop ?

580


Is there any way to skip finally block of exception even if some exception occurs in the exception block?

604


What do you mean by compiler?

589


What is constructor in java ?

638


What is the difference between form & report?

597


What is an empirical question?

546


What is the difference between a local variable and an instance variable?

557


What is class forname used for?

551


Which collection does not allow duplicates in java?

488