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

What are annotations in java?

598


Can an interface be final?

528


What are the access modifiers available in java?

539


Can we use a switch statement with strings?

523


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

593






What is a boolean expression in java?

505


What is the difference between member variables initialization and assignment in a constructor?

634


Can an interface have a class?

547


Does the order of public and static declaration matter in main method?

590


Difference between default and protected access specifiers?

479


What does business logic mean?

476


When we serialize an object does the serialization mechanism saves its references too?

489


Can a function return a function?

525


What are the differences between this and super keyword?

511


How to change the priority of thread or how to set the priority of thread?

586