generally for every object contains one unique hashcode generated by jvm. hashcode tells the programmer which class object it is.
OBJECT class produces one unique code for object. i.e, hexa decimal integer.
if u dont like this hexa decimal numerical value there is a chance to overridde hashcode value and whatever value give for that object then u should override hashCode() method in ur class and return it.
Anonymous User
28-Mar-2015hashcode tells the programmer which class object it is.
OBJECT class produces one unique code for object. i.e, hexa decimal integer.
if u dont like this hexa decimal numerical value there is a chance to overridde hashcode value and whatever value give for that object then u should override hashCode() method in ur class and return it.
Anonymous User
28-Mar-2015