Java中的自动装箱与拆箱如何理解 2022年2月28日 作者 admin 装箱就是自动将基本数据类型转换为包装类(int–>Integer)。 拆箱就是自动将包装类转换为基本数据类型(Integer–>int)。