lIf you want to do a
deep comparison
•you “must” (can?) call a
method (equals()) that exists for all objects of class type.
•Of course, the default
behavior of equals() is to just compare the references
•So you “must” (should)
override the equals() so that it actually compares the memory contents
of the object
•I recommend you always override this!
l