What is multiple inheritance? Is it supported by Java?

0 votes
302 views
Anonymous User asked 18-Dec-2017 in Technology by Anonymous User
edited 18-Dec-2017 by Mitul-Chopra

What is multiple inheritances? Is it supported by Java?

1 Answer

1 votes
Harsh kumar srivastava answered 18-Dec-2017 by Harsh kumar srivastava

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.