Object Class
Object Class
If you want to represent any object as a string, toString() method comes into
existence. The toString() method returns the String representation of the
object.
Java Object hashCode() is a native method and returns the integer hash code
value of the object.