ArunKumar
MultipleInheritance
1 Answer(s)      5 years and 9 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










Related Tutorials/Questions & Answers:

Ads

Advertisement