Question d’entretien chez BlackRock

why multiple inheritance is not supported in java ?

Réponse à la question d'entretien

Utilisateur anonyme

30 mai 2016

To avoid any ambiguity ,say we have 2 classes both having same method name,this is extended by a class,so methods of parent class having same name would be overridden,at run time there would be ambiguity ,which method to execute.Hence to avoid that Multiple inheritance is not allowed