Home » JAVA Programming » Collections » Question
  1. Which of these methods is used to obtain an iterator to the start of collection?
    1. iteratorSet()
    2. iterator()
    3. begin()
    4. start()
    5. None of these
Correct Option: B

To obtain an iterator to the start of the start of the collection we use iterator() method.



Your comments will be displayed only after manual approval.