public boolean equals(Object otherObject)
	{
		//a quick test to see if the objects are identical
		if (this == otherObject ) return true;
		
		//must return false if the explicit parameter is null
		if (otherObject == null) return false;
		
		//if the classes don't match, they can't be equal
		if (getClass() != otherObject.getClass()) return false;
		
		//now we know other Object is a non-null Employee
		Employee other = (Employee) otherObject;
		
		//test where the fields have identical values
		return Objects.equals(name, other.name) && salary == other.salary &&
				Objects.equals(hireDay, other.hireDay);
	}