Multiple choice

From which class are all the other classes derived in Java?

  1. java.lang.Class

  2. java.util.Name

  3. java.lang.Object

  4. java.awt.Window

  5. java.dll.obj

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The java.lang.Object class is the root of the class hierarchy. Every class has Object as a superclass. All objects, including arrays, implement the methods of this class.