摘要: 区别: 1.int是一种基本数据类型 , Integer是int的包装类 2.Integer变量需要实例化,int不需要 3.Integer实际是对象的引用,当new一个Integer时,实际上是生成一个指针指向此对象;而int则是直接存储数据值 4.Integer的默认值是null,int的默认值 阅读全文
posted @ 2019-06-19 11:35 杰哥! 阅读(313) 评论(0) 推荐(0)
/*scroll to top 火箭按钮*/