<<< Swing Forms Hierarchy | Index | The equals( ) method >>> |
Every Java object inherits several methods of the Object class
(or original methods can be overridden in a subclass of the Object class.)
Two of the most common methods are
toString( )
equals( )
The toString method returns the class name of the object followed by its memory location.
It has been overridden in the String class.
<<< Swing Forms Hierarchy | Index | The equals( ) method >>> |