The Object class is extended by all other classes.
In Java, the Object
class is the root class for all other classes. Every class in Java is either directly or indirectly derived from the Object
class. Therefore, the correct answer to the question “Which class is extended by all other classes?” is the Object
class.