Start learning →

Java and other modern languages destroy unused objects and recover memory automatically through:

AGarbage collection
BDisk defragmenting
CManual freeing
DMemory renting
Answer & Solution
Correct answer: A. Garbage collection
1. No references remain to the object. 2. A background program does the work. 3. It is garbage collection. _Source: OpenStax Introduction to Computer Science, Chapter 7, High-Level Programming Languages._
Practise this question with Quill — Computer Science — Uganda →

Keep practising Programming Languages

Browse all Programming Languages questions for Computer Science — Uganda, or explore more Computer Science topics.

Start a Programming Languages lesson →
Related questions