title: How is hashCode() calculated in Java
body: <p>What value does the <code>hashCode()</code> method return in java?</p>
  
  <p>I read that it is a memory reference of an object... The hash value for <code>new Integer(1)</code> is 1; the hash value for <code>String("a")</code> is 97. </p>
  
  <p>I am confused: is it ASCII or what type of value is?</p>