This method of the Name class determines whether the current Name object is equal to the one passed in the that parameter.
public boolean equals(Object that);
Returns true if the objects are equal; otherwise, returns false.
that | The object to compare the Name object with. |