int 和 Integer 100和1000的区别?
如果你运行如下代码:public class Main { public static void main(String[] args) { Integer i1 = 100; Integer i2 = 100; Integer i3 = 200; Integer i4 = 200; System.out.println(i1 == i2); System.out.println(i3 == i4); } }你会得到以下运行结果:truefalse