【发布时间】:2020-02-07 16:03:45
【问题描述】:
我使用数据类型来声明一些值,另一方面我使用包装类的概念来存储值,那么这些对象或文字值存储在内存中的什么位置?
class raw {
public static void main(String[] args) {
int a = 5;
Integer aa = new Integer(5);
// where these values are getting stored
}
}
【问题讨论】: