An unreachable heap object can be eligible for GC.
Practice this question from Quiz: Memory Management, with options and an explanation.
Question
An unreachable heap object can be eligible for GC.
Option A — Correct answer
True
GC traces reachable objects; unreachable objects can be reclaimed.
Option B
False
GC traces reachable objects; unreachable objects can be reclaimed.