欢迎来到易学考试网 易学考试官网
全部科目 > Java认证考试 > SCJP程序员认证考试

多项选择题

Which statements describe guaranteed behavior of the garbage collection and finalization mechanisms?()  

    A.Objects are deleted when they can no longer be accessed through any reference.
    B.The finalize() method will eventually be called on every object.
    C.The finalize() method will never be called more than once on an object.
    D.An object will not be garbage collected as long as it is possible for an active part of the program to      access it through a reference.
    E.The garbage collector will use a mark and sweep algorithm.

点击查看答案&解析

相关考题

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

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