Multiple choice technology architecture

Define an object that encapsulates how a set of objects interact. Promotes loose coupling by keeping objects from referring to each other explicitly and lets you vary their interaction independently

  1. Visitor

  2. Momento

  3. Mediator

  4. Bridge

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The Mediator pattern defines an object that encapsulates how a set of objects interact, promoting loose coupling by keeping objects from referring to each other explicitly and letting you vary their interaction independently. Visitor separates operations from object structure, Momento captures state, and Bridge separates abstraction from implementation.