Skip to content
Sharp

Design patterns · interview question

Why does the Proxy pattern in Java applications matter in this design?

Multiple choiceEasychapter-13-curatedpremiumdesign-patternsproxy-and-adapter
Choose one answer
Answer and explanation

Correct answer

D. To control access to an object and defer the full instantiation until necessary

Why

The Proxy pattern controls access to an object, often delaying the instantiation of an expensive resource until it's actually needed.

Test yourself on Design patterns

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

Start free test
All Design patterns questions →