2015年9月11日
摘要: 有人说栈区存放引用,这种说法并不准确。public void Method1(){ int i = 4; int y = 2; class1 cls1 = new class1();} java虚拟机栈是线程私有,他的生命周期与线程相同,每个方法在执行的同时都会创建一个栈帧(St... 阅读全文
posted @ 2015-09-11 17:52 cbwleft 阅读(205) 评论(0) 推荐(0)