Pergunta de entrevista da empresa BlackRock

why multiple inheritance is not supported in java ?

Resposta da entrevista

Sigiloso

30 de mai. 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