int与Integer的区别引入拆箱装箱。
由int与Integer的区别引入拆箱装箱。Java有primitive Type和Object,然后primitive type 有啥,Object有啥primitive Type:原始类型一共有8种原始类型一共有8种,它们分别是char,boolean,byte,short,int,long,float,double。在Java API中,有它们对应的包装类,分别是(首字母大写)Char...
原创
2019-03-07 12:11:18 ·
196 阅读 ·
0 评论