Which of the following is considered when broker is compared to iterator pattern?
(a) An iterator provides access to the elements of a collection on behalf of a client
(b) An iterator do not provides access to the elements of a collection on behalf of a client
(c) Broker is not an iterator pattern
(d) None of the mentioned
This question was posed to me in an online interview.
This interesting question is from Mid-Level Design Pattern Categories and Broker Pattern topic in chapter Visibility, Accessibility and Information Hiding of Software Architecture