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.

时间:2022-10-07 08:25:58 所属题库:SCJP程序员认证考试题库

相似题目