adspace


What is the difference between proxy and adapter?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Did you use ooa/ood methodologies? Did you use design patterns?

1195