why is multiple inheritance not allowed in java?

Answer Posted / sikinder

Whenever one Sub Class Extends more than one classes, at
the time of creating that class object, JVM gets confused
to call the parent class constructor as well as methods.

To avoid this ambuiguity, java doesn't support multiple
inheritance

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If a variable is declared as private, where may the variable be accessed?

807


What are the major drawbacks of external iteration?

817


Can java list be null?

751


What does .equals do in java?

723


What is an immutable class? How to create an immutable class?

794


Explain about procedural programming language or structured programming language and its features?

788


What do you mean by default constructor in java?

813


Is math class static in java?

842


What is byte value?

747


Write code of any action class?

735


What are the advantages of java?

758


Explain numeric promotion?

816


What is a variable analysis?

844


What is integer size in java?

716


What is the string function?

753