Integer n2 = 127;
System.out.println(n1==n2);
System.out.println(n1.equals(n2));
Integer n3 = 128;
Integer n4 = 128;
System.out.println(n3==n4);
System.out.println(n3.equals(n4));
11题 | 被引用0次
0