1.int是基本数据类型
2.int的默认值是0
3.Integer是引用数据类型
4.Integer的默认值是null
5.Integer是int的包装类
4.Integer无论是通过new的方式还是直接赋值的方式和int值进行==判断时,只要值一样,就为true
5.如果Integer类型和Integer类型进行==判断时,只要是new的方式则为false,
6.如果是两个非new生成的Integer变量,只要范围再-127到128之间,则为true
否则为false
07-11
1278
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)