What is the difference between proxy and adapter?



What is the difference between proxy and adapter?..

Answer / Nikhil Arya

A Proxy serves as a placeholder for another object to control access or delegate requests. It can provide features like lazy loading, caching, or security checks. On the other hand, an Adapter allows classes with incompatible interfaces to work together by converting the interface of one class into another compatible interface.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Design Patterns Interview Questions

Design the Factory pattern and What is its application ?

1 Answers   HP,


Name some of the analytical tools and KPIs that you used in your evaluations.

3 Answers  


Is mvc is a design pattern?

1 Answers  


What are the different types of Design Patterns and Explain them?

3 Answers   Genpact, Gradatim, Gul Ahmed, TCS, Wipro,


SAP Design Studio live classes by Exports

1 Answers   SAP Labs,


what is the lazy design pattern?

1 Answers  


How to add CSS styles Styles to Elements with Particular Attributes?

1 Answers  


When singleton pattern is used?

1 Answers  


. Run us through your design process.

1 Answers  


What three types of components comprise an application design?

1 Answers  


What is the prototype design pattern?

1 Answers  


What is Architecture and what is design? Are they related?

3 Answers   Accenture, IBM,


Categories