hi,
here I am having two
String Obect . "s1" is not pointing to the address that "s2" is refering to and vice versa.
I know that hashcode gives the memory address of the object.
then why it gives same hashcode for object "s1" and "s2" and not for class(ArrayMap) object ?
please let me know the real difference.
following is code snippet.
thanks
Raza!