Philips interview question

Why doesn't Java allow multiple inheritance?

Interview Answer

Anonymous

18 Jun 2024

Because of ambiguity in the member functions of the base class, to avoid it only allows multiple inheritance if the base classes are interfaces.