系统给java应用程序分配的内存格局是怎么样的?
代码区,堆,栈,常量区这些是用来存什么的?
另外详细说明一下字符串常量池的概念,作用,
int i =1与 Integer i = new Integer(1) 存储的区别?
求详细完整解释!