Join Regular Classroom : Visit ClassroomTech

Multiple inheritance is not supported in java

In this type of inheritance one class inherits from more than one parent class.

Multiple inheritance are not allowed here, in that case, it causes ambiguity error. If we create an object in C, the methods and properties of A and B will inherit in C class. So when we call it will get confused, if it will call a method of class A or B, it is called an ambiguity error.