Question d’entretien chez Xoriant

why doesn't java support multiple inheritance?why does it involve use of interfaces?

Réponse à la question d'entretien

Utilisateur anonyme

27 nov. 2018

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

1