Java applications can never have memory leaks because GC exists.

Practice this question from Quiz: Memory Management, with options and an explanation.

Question

Java applications can never have memory leaks because GC exists.

Option A

True

Reachable references prevent GC even when objects are no longer logically needed.

Option B — Correct answer

False

Reachable references prevent GC even when objects are no longer logically needed.

Quiz: Memory Management

All questions · Previous question · Next question

Open on QuizMaker