HardJava Core

What is the role of Young Generation in JVM garbage collection?

Tests your understanding of this concept.

Answer Options

AStores all objects created in the last 24 hours
BStores newly created objects; frequently collected with short pauses
CStores static fields and class metadata
DStores objects shared between threads

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 20+ more Java Core questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Java Core topic (Programming Languages).

More Java Core Questions