What if iterator moves more times than no.of elements? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

What if iterator moves more times than no.of elements?

27th Mar 2016, 5:38 AM
Rhunal Sawant
Rhunal Sawant - avatar
1 Respuesta
+ 2
NoSuchElementException will be thrown.
17th Apr 2016, 8:20 PM
Miro Ivan
Miro Ivan - avatar