title: What is the default formula for calculating the hashcode of an object
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2237720/what-is-an-objects-hashcode">what is an objects hashcode</a>  </p>
  </blockquote>
  
  
  
  <p>When i run this sample program</p>
  
  <pre><code>public class ZiggyTest {
      public static void main (String[] args){
          Object now = new Object();
          System.out.println(now);
      }
  }
  </code></pre>
  
  <p>The output is </p>
  
  <pre><code>java.lang.Object@3e25a5
  </code></pre>
  
  <p>I understand that the number 3e25a5 is the hashcode value that represents the object. Where and how is this calculated/derived?</p>