Methods of Object include:
-
clone() creates a clone of the object
-
equals( Object ) compares two objects, returning a boolean result
-
getClass() returns a descriptor of type Class (a child of Object) defining the class of the object
-
toString() returns a String representation of the object. It is expected that each subclass will override this method
-
wait(...) in various forms causes threads to wait
-
finalize() executed when the object is deleted by system (i.e., garbage collected)
|