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 are annotations in java?
Can an interface be final?
What are the access modifiers available in java?
Can we use a switch statement with strings?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
What is a boolean expression in java?
What is the difference between member variables initialization and assignment in a constructor?
Can an interface have a class?
Does the order of public and static declaration matter in main method?
Difference between default and protected access specifiers?
What does business logic mean?
When we serialize an object does the serialization mechanism saves its references too?
Can a function return a function?
What are the differences between this and super keyword?
How to change the priority of thread or how to set the priority of thread?