Tell me what is multiple inheritance? Is it supported by Java?

Submitted by: Muhammad
If a child class inherits the property from multiple classes is known as multiple inheritance. Java does not allow to extend multiple classes.

The problem with multiple inheritance is that if multiple parent classes have a same method name, then at runtime it becomes difficult for the compiler to decide which method to execute from the child class.

Therefore, Java doesn't support multiple inheritance. The problem is commonly referred as Diamond Problem.
Submitted by: Muhammad

Read Online Java Software Engineer Job Interview Questions And Answers