Question OOP-INH-0005
EasyDoes Java allow a class to extend more than one class?
- A.
Only abstract classes can
- B.
No, only single inheritance of classes is allowed
- C.
Show answer and explanation
Answer: B
Java avoids the diamond problem by allowing one superclass; a class can implement many interfaces.