试题详情
单项选择题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
  • 关注下方微信公众号,在线模考后查看

热门试题