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
How to instantiate static nested classes in java?
What's the purpose of using break in each case of switch statement?
What are nested classes in java?
How many unicode characters are there?
How do you call a reference in java?
Can anonymous class have constructor?
What is a default constraint?
How many types of operators are there?
What is the dot operator?
How does compareto work in java?
How many digits is int32?
What is static and final keyword in java?
How many wrapper classes are there in java?
What is the difference between dom and sax parser in java?
What is identifier give example?