Object
- Object is the super class for all the classes.
- This defines the following methods
| Method | Description |
|---|---|
| Object clone() throws CloneNotSupportedException | creates a new object that is same as the invoking object. |
| boolean equals(Object object) | Returns true if the invoking object is equivalent to the object. |
| void finalize() throws Throwable | It is a default method which is called when an unused object is recycled. |
| final Class<?> getClass() | Obtains a Class object that describes the invoking object. |