Which of these methods is used to obtain an iterator to the start of collection?
A. start()
B. begin()
C. iteratorSet()
D. iterator()
Answer:A
Which of these methods is used to obtain an iterator to the start of collection?
A. start() B. begin() C. iteratorSet() D. iterator()
Explanation: To obtain an iterator to the start of the start of the collection we use iterator() method.