我想知道所占用的内存是否存在差异 Integer n,并且int n.
Integer n
int n
我知道int n通常占用4个字节,怎么样Integer n
java int integer
int ×1
integer ×1
java ×1