Skip to content
Sharp

JVM Architecture · interview question

Which process describes loading a class only when it is first needed?

Multiple choiceEasychapter-14-curatedpremiumjvm-architectureclass-loading
Choose one answer
Answer and explanation

Correct answer

C. Lazy loading

Why

Lazy loading is a process where a class is loaded only when it is first referenced, which can help to reduce memory usage and improve startup time.

Test yourself on JVM Architecture

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

Start free test
All JVM Architecture questions →