Java Object Class In The Inheritance Hierarchy
What is the role of the Object class in Java’s inheritance hierarchy?
A
It is used to store object references
B
It only provides graphical user interface methods
C
It is a class that must be explicitly extended by all user-defined classes
D
It is the superclass of all classes, providing base methods like toString() and equals()
Question Leaderboard
Not enough data yet to show leaderboard.
APFIVE