I have a class, say TextHolder, that overrides Object.equals() to return true if both strings in each object are equal - <tt>new TextHolder("Hello World!").equals(new ...
Now, let us look at the longform equality test based on these attributes, as implemented in Address.java, and, which is excerpted below. As you can see, it works by initially comparing the object ...