What allows the programmer to destroy an object x?
A.x.delete()
B.x.finalize()
C.Runtime.getRuntime().gc()
D.Only the garbage collection system can destroy an object.
Answer:D
What allows the programmer to destroy an object x?
A.x.delete() B.x.finalize() C.Runtime.getRuntime().gc() D.Only the garbage collection system can destroy an object.