Possible Duplicate:
How is hashCode() calculated in Java
I know every objects generated in java has hashcodes and also there can be two different objects with the same hashcode.So, i dont know hashcode generation depends on the object type or something else...
Can you suggest me about how hashcodes are implemented in java or what does it depends(based) on?