Object class methods Description
boolean equals( Object o ); Gives generic way to compare objects
Class getClass(); The Class class gives us more information about the object
int hashCode(); Returns a hash value that is used to search objects in a collection
void notify(); Used in synchronizing threads
void notifyAll(); Used in synchronizing threads
String toString(); Can be used to convert the object to String
void wait(); Used in synchronizing threads
protected Object clone() throws CloneNotSupportedException ; Return a new object that are exactly the same as the current object
protected void finalize() throws Throwable; This method is called just before an object is garbage collected