MultipleInheritance

Ads

 
 

Share on Google+Share on Google+

ArunKumar
MultipleInheritance
1 Answer(s)      6 years and 11 months ago
Posted in : Java Beginners

Why Java doesn't have multiple inheritance somebody told that depends on ambiguity problem but i need clear things ....

Ads
View Answers

December 27, 2010 at 1:19 PM


Hi Friend,

When we extends more than one class, JVM get confused as to which method it should call. This causes complexity and inconsistency. So to avoid these complexities and inconsistencies Java does not support Multiple Inheritance.

Thanks


Ads









Related Tutorials/Questions & Answers:

Ads

 
Advertisement null

Ads