?
What is the purpose of garbage collection?
Answer & Solution
Correct Answer:
Option
D
When the interpreter sees an object in the heap with no object references, it removes that object from the heap. This is called garbage collection.
Join the Discussion
Login to post a comment or share your explanation.
Login