Interger的陷阱和源码解析
首先看下下面一个简单的程序会输出什么结果?public class IntegerTest { public static void main(String[] args) { Integer a = 123; Integer b = 123; Integer c = 128; Integer d = 128; System.out.println(a==b); System.out.println(c==d)