当前位置: 代码迷 >> Java相关 >> 提问关于回收机制
  详细解决方案

提问关于回收机制

热度:293   发布时间:2006-02-12 12:37:00.0
提问关于回收机制
请大家帮忙判断一下,有能力的话详细说明一下,我谢谢大家了

ture or false

A. Memory is reclaimed by calling Runtime.gc().
B. Objects are not collected if they are accessible from live threads.
C. Objects that have finalize() methods are never garbage collected.
D. Objects that have finalize() methods always have their finalize() methods called before the programe ends.
E. An OutOfMemory error is only thrown if a single block of memory cannot be found that is large enough for a particular requirement.

搜索更多相关的解决方案: Objects  机制  methods  finalize  提问  

----------------解决方案--------------------------------------------------------
又是判断题,晕,
F (执行单个Runtime.gc()方法并不能保证有效的请求垃圾收集)
T 看垃圾回收的定义
F
F
F


----------------解决方案--------------------------------------------------------
哎呀吗呀!咋都是鹰蚊啊?
俺也看不出个个数啊!
我都开始学日本蚊了啊!

----------------解决方案--------------------------------------------------------
  相关解决方案