Multiple choice technology architecture

Provides a way to access the elements of an aggregate object sequentially without exposing its underlying representation.

  1. Iterator

  2. Visitor

  3. Composite

  4. Command

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

The Iterator design pattern provides a way to access elements of an aggregate object (collection) sequentially without exposing its underlying representation. It abstracts the traversal logic and allows different traversal strategies. Visitor separates operations from object structure, Composite builds tree structures, and Command encapsulates requests as objects.