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

java Technical questions asked by JPMC

4816


What is serialversionuid?

793


Give me example of derived data types.

862


Can we sort list in java?

806


Are maps ordered java?

726


Write a function for palindrome and factorial and explain?

880


What are the advantages and disadvantages of reference counting in garbage collection?

800


What class allows you to read objects directly from a stream?

1122


Why we use set in java?

793


Explain about collection interface in java?

784


What is the file type?

833


How many types of methods are there?

764


Java is Pass by Value or Pass by Reference?

824


What is the mapping mechanism used by java to identify IDL language?

815


What is java util collection?

779