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 are synchronized methods and synchronized statements in java programming?
What is binary search in java?
Is a method a function?
What is a void in java?
Can a serialized object be transferred via network?
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?
How can we make copy of a java object?
Is age discrete or continuous?
What is an example of procedure?
What happens to a static var that is defined within a method of a class?
What is use of functional interface in java 8? Explain
What is bool mean?
What are register variables what are the advantages?
What is toarray method in java?
What is console based application in java?