Skip to content
Sharp

Garbage Collection · interview question

What does the Weak Generational Hypothesis suggest about object lifespan in Java?

Multiple choiceMediumchapter-14-curatedpremiumgarbage-collectiongenerational-gc
Choose one answer
Answer and explanation

Correct answer

A. Most objects are short-lived.

Why

The Weak Generational Hypothesis suggests that most objects die young, meaning they become unreachable soon after creation. This is why the Young Generation is frequently garbage-collected.

Test yourself on Garbage Collection

A free test with instant, explained results. No account needed.

Start free test
All Garbage Collection questions →