Object as a Superclass

Object as a Superclass

The Object class, in the java.lang package, sits at the top of the class hierarchy tree. Every class is a descendant, direct or indirect, of the Object class. Every class you use or write inherits the instance methods of Object.

The methods inherited from Object are: clone(), equals(Object obj), finalize(), getClass(), hashCode(), toString(), notify(), notifyAll(), and wait().

Related concepts

Object as a Superclass

Object as a Superclass — Structure map

Clickable & Draggable!

Object as a Superclass — Related pages: