Which of the following is true about built-in external iteration control mechanism?
(a) The collection might provide with the following operations to control iterations- reset,get next,has More
(b) Reset initializes the iteration
(c) Get Next obtains the current value and the advance to the next element
(d) All of the mentioned
I have been asked this question in an interview for job.
Question is taken from Collection Iterator Pattern in section Visibility, Accessibility and Information Hiding of Software Architecture