Multiple choice technology architecture

Which Behavioral Pattern move through a list of collection or aggregated objects without knowing its internal representations?

  1. Command

  2. Interpreter

  3. Mediator.

  4. Iterator.

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

Iterator Pattern provides a way to access elements of an aggregate object sequentially without exposing its underlying representation - exactly what the question describes. Command encapsulates requests. Interpreter evaluates language expressions. Mediator defines centralized communication between objects.