+1 vote
in Software Architecture by (75.2k points)
Which of these states about Object Adapter pattern?

(a) The adapter can inherit adapter operations with appropriate semantics and pragmatics, override those with inappropriate semantics or pragmatics, and add operations needed for the new interface

(b) The adapter may hold a reference to the adapter and delegate must work to the adapter object

(c) All of the mentioned

(d) None of the mentioned

This question was addressed to me in unit test.

My query is from The Adapter Patterns and Proxy Pattern in section Visibility, Accessibility and Information Hiding of Software Architecture

1 Answer

0 votes
by (46.2k points)
The correct choice is (b) The adapter may hold a reference to the adapter and delegate must work to the adapter object

The explanation: The adapter may hold a reference to the adapter and delegate must work to the adapter object is for object adapter pattern.

Related questions

We welcome you to Carrieradda QnA with open heart. Our small community of enthusiastic learners are very helpful and supportive. Here on this platform you can ask questions and receive answers from other members of the community. We also monitor posted questions and answers periodically to maintain the quality and integrity of the platform. Hope you will join our beautiful community
...