Multiple ChoiceIntermediate 45s
Mediator: reducing many-to-many coupling
What is the benefit of the Mediator pattern in a set of interacting components?
Options
- 1It makes every component aware of every other component through direct references
- 2It guarantees thread safety by serializing all mediator calls through a single lock
- 3It replaces many-to-many peer interactions with many-to-one interactions through a central mediator
- 4It persists state between calls so the components can resume exactly where they left off
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.