Multiple choice technology web technology

Java does not have multiple inheritance

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Java does NOT support multiple inheritance of classes to avoid the 'diamond problem' and complexity. A class can only extend one parent class, though it can implement multiple interfaces - which is different from multiple inheritance.