What allows the programmer to destroy an object x? - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
10 Mar 2023 02:39 PM study24x7 study24x7

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.

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles