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 wrapper class html?
Write a program in java to create a doubly linked list containing n nodes.
Why does java not allow multiple public classes in a java file ?
What are some characteristics of interference class?
What are different access specifiers in java? Explain
When will you define a method as static in Java?
Can size_t be negative?
What are the application of stack?
What are the two types of streams offered by java 8?
What methodology can be employed to locate substrings inside a string?
What is hash in java?
What is pass by value?
Can you run java program without main method?
Explain the term virtual machine?
How many bytes is double?