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

What allows the prog


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.
参考答案
参考解析:
分类:SCJP程序员认证考试题库