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

What is the difference between the size and capacity of a vector?

571


Can we catch more than one exception in a single catch block?

631


Can I override protected method in java?

601


What is the difference between the font and fontmetrics classes in java programming?

509


What is string [] args?

562






What is jit compiler ?

580


Which method returns the length of a string?

573


What is the exception hierarchy in java?

490


What are the core java topics?

569


Can the garbage collection be forced by any means?

535


What is immutability in java?

610


How do you print array in java?

560


What is widening and narrowing in java? Discuss with an example.

563


How do you clear a list in java?

606


What are the Static and Dynamic Variables? Differentiate them.

609