试题详情
- 单项选择题 11.rbo = new ReallyBigObject(); 12.//more code here 13.rbo = null; 14./*insert code here*/ Which statement should be placed at line 14 to suggest that the virtual machine expend effort toward recycling the memory used by the objectrbo?()
A、System.gc();
B、Runtime.gc();
C、System.freeMemory();
D、Runtime.getRuntime().growHeap();
E、Runtime.getRuntime().freeMemory();
- A
关注下方微信公众号,在线模考后查看
热门试题