title: What role does hashCode play when comparing two objects?
body: <p>I've decided to study some primary documentation in Java. I've started with <code>Object</code> class and I am looking at the <code>equals</code> method. I know that <code>equals</code> is using <code>hashCode</code> method. Although, <code>hashCode</code> returns int so there are a limited number of unique hashcodes that can be generated.</p>
  
  <p>What will happen when I try to compare two <strong>diffrent</strong> objects that have the same <code>hashCode</code>? Is this even posible?</p>