0 votes
in JAVA by
Difference between Adapter and Proxy Pattern?

1 Answer

0 votes
by
Similar to the previous question, the difference between Adapter and Proxy patterns is in their intent. Since both Adapter and Proxy pattern encapsulate the class which actually does the job, hence result in the same structure, but Adapter pattern is used for interface conversion while the Proxy pattern is used to add an extra level of indirection to support distribute, controlled or intelligent access.

Related questions

0 votes
asked Oct 17, 2019 in Design Patterns by Robin
+3 votes
asked May 13, 2021 in JAVA by rajeshsharma
...