What kind of pattern is iterator pattern?
A. Design pattern
B. Sequence pattern
C. Adapter pattern
D. All of the mentioned
Answer:A
What kind of pattern is iterator pattern?
A. Design pattern B. Sequence pattern C. Adapter pattern D. All of the mentioned
Explanation:Iterator pattern is a design pattern in which an iterator is used to traverse a container and access the container’s elements.