📜  java代码示例中的装箱和拆箱

📅  最后修改于: 2022-03-11 14:52:27.600000             🧑  作者: Mango

代码示例1
Autoboxing is the automatic conversion that the Java compiler makes between the primitive types and their corresponding object wrapper classes. For example, converting an int to an Integer, a double to a Double, and so on. If the conversion goes the other way, this is called unboxing.