Domanda di colloquio di Fannie Mae

What is an advantage of using an Iterator in Java?