Fannie Mae Interview Question

What is an advantage of using an Iterator in Java?