Skip to content
Sharp

Design patterns · interview question

How would you explain a key difference between the Proxy and Adapter patterns in an interview?

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

Correct answer

A. Proxy controls access while Adapter changes the interface

Why

The Proxy pattern is primarily used to control access and manage resources, while the Adapter pattern is used to transform one interface into another for compatibility.

Test yourself on Design patterns

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

Start free test
All Design patterns questions →