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.
Loading...
Related Quiz
- Memory ___________ is a technique used to rearrange memory contents to place all free memory together.
- A ___________ is a tree in which no node can have a degree greater than two.
- In Node.js, ___________ is used to manage dependencies for a project.
- ARP stands for Address Resolution ________.
- You're designing a system where multiple threads need to access a shared database. How would you ensure proper synchronization to prevent data corruption?