because it is equivalent to using an iterator, it is equivalent to calling the collections’ . iterator() method, and it is called once.
because it is equivalent to using an iterator, it is equivalent to calling the collections’ . iterator() method, and it is called once.