Hi All,
Can someone give the clarrification of the following question ?
String s1="abc";
String s2=new String("abc");
I found that s1.hashCode()=s2.hashCode() although both are different objects ?Can someone explain me why s1.hashCode()=s2.hashCode() ?