Java Inheritance Principles
Which of the following statements correctly describes a principle of inheritance in Java?
A
A class can inherit from multiple classes as long as there is no ambiguity.
B
Multiple inheritance is allowed through the use of the super keyword.
C
A class must inherit from at least two classes, including Object.
D
A class can inherit from only one direct superclass, preventing issues like the diamond problem.
Question Leaderboard
Not enough data yet to show leaderboard.
APFIVE