欢迎来到牛牛题库网 牛牛题库官网
logo
全部科目 > Java认证考试 > Java认证考试综合练习

单项选择题

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();

点击查看答案&解析

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题