What is multiple inheritance? Is it supported by Java?

Asked 18-Dec-2017
Updated 18-Dec-2017
Viewed 540 times

0

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.