Multiple choice technology architecture

Benefits of the observer pattern include:

  1. Creates an abstract coupling between the subject and the observer

  2. Allows the subject and observer to belong to different layers of abstraction

  3. Supports notifications in the form of broadcasts

  4. All of the above

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

The Observer Pattern provides multiple benefits: it creates abstract coupling between subjects and observers (they know each other only through interfaces), allows them to exist at different abstraction layers (UI layer can observe business layer), and supports broadcast-style notifications where one change notifies multiple observers simultaneously. Option A correctly identifies abstract coupling, which is a genuine benefit. Option B correctly states subjects and observers can be at different abstraction layers (e.g., business logic notifying UI components). Option C correctly identifies broadcast notification support. Therefore, option D (All of the above) is the correct choice.