Computer Science, asked by kushboo55, 1 year ago

What are multiple inheritances in Java?

Answers

Answered by Anonymous
0

Java supports multiple inheritances i.e the ability of a class to implement more than one interface. A class can implement multiple Interfaces but cannot extends multiple classes.

Answered by anshpreet33
1

Multiple Inheritance is a feature of object oriented concept, where a class can inherit properties of more than one parent class. The problem occurs when there exist methods with same signature in both the super classes and subclass. On calling the method, the compiler cannot determine which class method to be called and even on calling which class method gets the priority.

Similar questions