Methods of the Object class:
Method | Description |
toString() | Returns a string object containing the class name, followed by the @ symble, followed by the hash code for the object. It may be overriden. |
equals(Object) | Return true (boolean) if this object points to the same space in memory as the specified object. |
getClass() | Returns a Class object that represents the type of this object. |
clone() | Returns a copy of this object as an Object object. Before the clone() method can be used, you must implement the Cloneable interface. |
hashCode() | Returns the hash code (int) for this object. |
finalize() | Called by the garbage collector when the garbage collector determines that there are no more referneces to the object. |