Difference between iterator and for each loop and in what condition do we use them?
Anonymous
I think only difference between them is that using iterator we can go both back and forth in a collection which is not possible using for-each loop.
Check out your Company Bowl for anonymous work chats.