IBM
C2010-501 · Question #108
Which statement describes how garbage collection is used?
The correct answer is A. Garbage collection frees memory by removing dead objects from the heap. See the full explanation below for the reasoning.
Question
Which statement describes how garbage collection is used?
Options
- AGarbage collection frees memory by removing dead objects from the heap.
- BGarbage collection compresses the heap space through data compression.
- CGarbage collection forces the freeing of memory in the heap by dumping the objects in the order of
- DGarbage collection uses a properly tuned garbage collection agent to gather unused data in the heap
How the community answered
(60 responses)- A75% (45)
- B7% (4)
- C15% (9)
- D3% (2)
Community Discussion
No community discussion yet for this question.