What if iterator moves more times than no.of elements? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

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

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