PPT Slide
- Java provides a base class, Object
- All classes that do not have an extends clause implicitly inherit directly fromclass java.lang.Object
public boolean equals (Object o)
public boolean String toString ()
- When you create your own toString( ) method
for a class, you are overriding the toString( )