Pregunta de entrevista de BlackRock

why multiple inheritance is not supported in java ?

Respuesta de la entrevista

Anónimo

30 de may de 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