What automatically reclaims unused object memory in Java?
AVirtual page manager
BStorage defragmenter
CReference indexer
DGarbage collector
Answer & Solution
Correct answer: D. Garbage collector
Java uses a garbage collector to reclaim memory from unreachable objects.
Keep practising Introduction to Java and BlueJ
Browse all Introduction to Java and BlueJ questions for ICSE Class 8, or explore more Computer Applications topics.
Related questions
Match each Java language feature with its benefit:Match each object-oriented programming concept with its definition:Match each BlueJ IDE interface element with its purpose:Match each core Java platform component with its role:Which framework lets Java interact with native C/C++ libraries?When does the JVM bytecode verifier check bytecode?Which class loader in every JVM must load trusted classes?Which activity strictly follows loading in a JVM class loader?