Q. Which class is the superclass of all classes in Java?

A
Object
B
Class
C
Abstract
D
Interface
Solution:

The Object class is the root of the Java class hierarchy, inherited by all classes.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!