Q.

What garbage collection in the context of java?

A. The operating system periodically deletes all of the java files available on the system.
B. Any package imported in a program and not used in automatically deleted.
C. When all references to an object are gone, the memory used by the object is automatically reclaim
Answer» C. When all references to an object are gone, the memory used by the object is automatically reclaim
2.1k
0
Do you find this helpful?
22

View all MCQs in

Java Programming

Discussion

No comments yet