Skip to content
Sharp

Design patterns · interview question

Which design pattern is primarily used to delay operations that are resource-intensive?

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

Correct answer

B. Proxy

Why

The Proxy pattern is used to delay resource-intensive operations by serving as a placeholder that controls access to the actual object. This helps in optimizing performance by loading resources only when necessary.

Test yourself on Design patterns

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

Start free test
All Design patterns questions →