what is Object equal and hash code will do
807569Aug 29 2006 — edited Aug 30 2006Hi,
Can anyone explain, what is actually thing happen with equals and hashcode, I mean when u create a object what exactly happen with equals and hashcode methods.
when I create a string s = "abc"; s1= new String("abc");
Both hashcodes r same. but the references is different. this time how jvm come to know the memory references.
Thanks in Advance