The ___________ design pattern provides a way to access the elements of an aggregate object sequentially without exposing its underlying representation.

  • Proxy Pattern
  • Iterator Pattern
  • Adapter Pattern
  • Observer Pattern
The correct option is the Iterator Pattern. This pattern is used to access elements of an aggregate object without exposing its internal structure.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *