Solved

What Is Garbage Collection in the Context of Java

Question 2

Multiple Choice

What is 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 is automatically deleted.
C) When all references to an object are gone, the memory used by the object is automatically reclaim

Correct Answer:

verifed

Verified

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents