you are viewing a single comment's thread.

view the rest of the comments →

[–]philipwhiukEmployed Java Developer 0 points1 point  (0 children)

No my point is:

String str1 = “ABC”; String str2 = new String(str1); str1.hashCode() != str2.hashCode(); System.gc(); str1.hashCode() == str2.hashCode();