every object in java maintains a hashcode. this is just an integer.
java uses this code for efficient searchig and sorting algorithms.
By default the hashcode of the object will be the memory address of the objcet.
this default value in not helpful.
Pls refer to hashcode and equals method Object class.