Java J2EE Spring Chapter 38: Overriding toString(), hashCode() and equals() Methods

We have looked a lot of features of the Java programming language in the past chapters. In the next chapter we are going to look at Collections. They are widely used and extremely useful in any java application. But, before we can dive into the collection framework, we need to understand a few features of the Object class in Java. We will be looking at the toString(), hashCode() and equals()