Which type of inheritance is not supported by Java:?

  • ASingle inheritance
  • BMultiple inheritance
  • CMultilevel inheritance
  • DNone of these
Show answerHide answer

Correct answer B

In Java, a class cannot inherit from more than one superclass to avoid ambiguity. However, it does support single inheritance, multilevel inheritance, and hierarchical inheritance. To achieve some aspects of multiple inheritance, Java uses interfaces, allowing a class to implement multiple interfaces.