why java does not support multiple inheritance

Answer Posted / mukul

java does not supports multiple inheritence at all.but it
supports similar feature interface.Which removes the
ambiguity problem(Deadly Diamonds Of Death) and complexity
of multiple inheritence.Although interface is not the part
of inheritence because inheirtence is achieved in java
through extends keyword only.Interface is the part of
aggregation not inheritence.

Is This Answer Correct ?    47 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differences between C and Java?

611


What is lambda in java?

515


What are the two types of streams offered by java 8?

506


What is OOP Language?

622


Explain inheritance in java?

549






Explain try and catch keywords in java?

619


why java does not support unsigned keyword?

4241


how can you catch multiple exceptions in java?

541


Can a class have 2 constructors?

492


What are the disadvantages of object oriented programming?

586


What does regex mean?

563


What is nested loop? What is dangling else condition in it?

572


What are features of java?

559


What is double word?

531


What do you mean by pointer value and address?

572