多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

What allows the programmer to destroy an object x?()  

  • A、 x.delete()
  • B、 x.finalize()
  • C、 Runtime.getRuntime().gc()
  • D、 Explicitly setting the object’s reference to null.
  • E、 Ensuring there are no references to the object.
  • F、 Only the garbage collection system can destroy an object.
正确答案:F
答案解析:
进入题库查看解析

微信扫一扫手机做题