PPT Slide
Subclasses and Superclasses
The Object class is the root of the Java class hierarchy.
The Object class declares methods that are implemented by all objects.
- public boolean equals(Object obj)
- public final Class getClass()
- protected void finalize() throws Throwable
Variables of type Object can refer to any
object and can be used in lists.