title: What's the difference of hashCode() and equals()?
body: <p>I was thinking and this question came to my mind what is the relationship between <code>hashCode()</code> and <code>equals()</code>? Also, what is the significance of these methods? And, what are the requirements for implementing them?</p>