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
What is the difference between compare and compareto in java?
How do you start a thread?
Can we split string with in java?
What's the difference between int and integer in java?
Java.util.regex consists of which classes?
What kind of variables can a class consist?
Can a top level class be private or protected?
What is a singleton in genetics?
What do you mean by of string::valueof expression in java 8?
Can we overload run() method in java?
What is the memory leak in java?
What are the limitations of procedural programming approach?
Give an example of call be reference significance.
What is unicode used for?
How do you break a loop?