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


Please Help Members By Posting Answers For Below Questions

What is :: operator in java 8?

797


Explain what access modifiers can be used for methods?

797


How do you sort words in java?

725


What is an object's lock and which object's have locks in java programming?

786


What is a lock or purpose of locks in java?

788


What is the main purpose of java?

758


How can an exception be thrown manually by a programmer?

731


What are the advantages of packages in java?

920


What are access specifiers available in java?

800


How to create a thread in java?

864


Is void a data type in java?

731


What kind of variables a class can consist of?

853


What is a predicate method?

754


Is multiple inheritance supported by java?

704


What is arraylist class in java?

736