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 is class forname?

548


What are the two ways to create a thread?

538


What is string args [] in java?

540


Can java object be locked down for exclusive use by a given thread?

588


What is byte data type?

551






What is primitive data type in java?

545


explain what is transient variable in java?

629


What is string made of?

531


please send me hr interview questions in it industry

1671


Can we have multiple classes in a single file?

515


Is assembly language a low level language?

502


What is token in java?

535


What is an empty string in css?

535


What restrictions are placed on method overloading in java programming?

575


Does constructor be static?

567