摘要: 什么叫装箱 & 拆箱? 将int基本类型转换为Integer包装类型的过程叫做装箱,反之叫拆箱。 首先看一段代码 public static void main(String[] args) { Integer a = 127, b = 127; Integer c = 128, d= 128; S 阅读全文
posted @ 2022-04-20 14:28 一个程序员的成长 阅读(547) 评论(8) 推荐(2) 编辑