The Mediator pattern has which of the following advantages?
A. It decouples collaborators, making them more changeable and reusable
B. It centralizes control of an interaction in the mediator class, making it easier to change, thus increasing modifiability
C. It simplifies the collaborators, making them easier to understand, and hence to change
D. All of the mentioned
Answer:A
The Mediator pattern has which of the following advantages?
A. It decouples collaborators, making them more changeable and reusable B. It centralizes control of an interaction in the mediator class, making it easier to change, thus increasing modifiability C. It simplifies the collaborators, making them easier to understand, and hence to change D. All of the mentioned
Explanation: All the mentioned are advantages for mediator pattern.