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
If a variable is declared as private, where may the variable be accessed?
What are the major drawbacks of external iteration?
Can java list be null?
What does .equals do in java?
What is an immutable class? How to create an immutable class?
Explain about procedural programming language or structured programming language and its features?
What do you mean by default constructor in java?
Is math class static in java?
What is byte value?
Write code of any action class?
What are the advantages of java?
Explain numeric promotion?
What is a variable analysis?
What is integer size in java?
What is the string function?