可学答题网 > 问答 > SCJP程序员认证考试题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

11. rbo = new Rea


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 object rbo?() 

  • A System.gc();
  • B Runtime.gc();
  • C System.freeMemory();
  • D Runtime.getRuntime().growHeap();
  • E Runtime.getRuntime().freeMemory();
参考答案
参考解析:
分类:SCJP程序员认证考试题库