public static void main(String[] args){
String a = "1";
String b = "1";
System.out.println("a == a -> " + a == a);
System.out.println("a == b -> " + a == b);
System.out.println(a.equals(b));
System.out.println(a.hashCode() == b.hashCode());
}
猜一猜运行结果!!!!