Pergunta de entrevista da empresa Capgemini Engineering

Difference between iterator and for each loop and in what condition do we use them?

Resposta da entrevista

Sigiloso

22 de jun. de 2012

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.