Integer与int的区别

1.int是java8种基本数据类型之一,Integer是int的封装类;

2.int的默认值是0,Integer的默认值是null

原文地址:https://www.cnblogs.com/lxcmyf/p/6404951.html