Possible Duplicate:
what is an objects hashcode
When i run this sample program
public class ZiggyTest {
    public static void main (String[] args){
        Object now = new Object();
        System.out.println(now);
    }
}
The output is
java.lang.Object@3e25a5
I understand that the number 3e25a5 is the hashcode value that represents the object. Where and how is this calculated/derived?
 
     
     
    