1.Integer a=11相当于调用的Integer.valueof(),Integer b=11,a==b为true,128范围内会去缓存中取相同的引用,超过128或者小于—128会new一个新对象 2.包装类型是在堆中生成新对象