📜  java中的自动装箱和拆箱 - 任何代码示例

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

代码示例1
Assigning a value of one type to a variable of another type is
known as Type Casting.
Auto-boxing; is a process when you take a primitive value and
assign into wrapper class object.
Un-boxing; is a process when you take Wrapper class object
and convert to primitive.