摘要:
猜一下下面代码的结果,是true true true 还是false false false?
Integer a = 10;
Integer b = 10;
System.out.println(a.equals(b));
a = 100;
b = 100;
System.out.println(a.equals(b));
a = 1000;
b = 1000;
System.out.println(a.equals(b)); 阅读全文