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
What is the difference between the size and capacity of a vector?
Can we catch more than one exception in a single catch block?
Can I override protected method in java?
What is the difference between the font and fontmetrics classes in java programming?
What is string [] args?
What is jit compiler ?
Which method returns the length of a string?
What is the exception hierarchy in java?
What are the core java topics?
Can the garbage collection be forced by any means?
What is immutability in java?
How do you print array in java?
What is widening and narrowing in java? Discuss with an example.
How do you clear a list in java?
What are the Static and Dynamic Variables? Differentiate them.