What is multiple inheritance? Is it supported by Java?

Asked 8 years ago Updated 8 years ago 798 views

1 Answer


1

When a child class inherits the property of multiple parent classes, its known as Multiple Inheritance.

What is multiple inheritance? Is it supported by Java?

Java is not supported Multiple Inheritance, because if child class inherits the property of multiple parent class, and if multiple parents have the same method name, then at runtime it's difficult to the compiler to decide which method to execute from the child class.


Write Your Answer