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
Differences between C and Java?
What is lambda in java?
What are the two types of streams offered by java 8?
What is OOP Language?
Explain inheritance in java?
Explain try and catch keywords in java?
why java does not support unsigned keyword?
how can you catch multiple exceptions in java?
Can a class have 2 constructors?
What are the disadvantages of object oriented programming?
What does regex mean?
What is nested loop? What is dangling else condition in it?
What are features of java?
What is double word?
What do you mean by pointer value and address?