+1 vote
in Software Architecture by (75.2k points)
Which of the following i correct?

(a) The Mediator pattern provides a means of increasing coupling

(b) In the Mediator pattern, interacts with one another, collaborating objects and with a special mediator class

(c) The objects are coupled only to the mediator, which contains all the code for coordinating the collaboration

(d) All of the mentioned

This question was addressed to me in exam.

This key question is from The Facade and Mediator Patterns in portion Visibility, Accessibility and Information Hiding of Software Architecture

1 Answer

0 votes
by (46.2k points)
Right option is (c) The objects are coupled only to the mediator, which contains all the code for coordinating the collaboration

For explanation: Rest other are false-The Mediator pattern provides a means of reducing coupling, In the Mediator pattern, classes interacts only with a special mediator class.

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
...