public class MyTest{
public static void main(String args[]){
// String s1 = new String("abc");
// String s2 = new String("abc");
String s1 = "abc";
String s2 = "abc";
System.out.println(s1==s2);
System.out.println("abc".hashCode());
}
}
网友评论