equals method: The equals method is another built-in method in Java that compares two objects for equality. It returns true if the objects have the same values, and false otherwise.
getClass method: The getClass method is used to get the class (type) of an object at runtime. It returns an instance of Class, which provides information about the class.
hashCode method: The hashCode method is used to get a unique identifier (hash code) for an object. It returns an integer value that represents the object's internal memory address.