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
Answer:A
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
Explanation: An iterator provides access to the elements of a collection on behalf of a client.