Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
If we think of an ArrayList, you could create a new Iterator instance named "it". The iterator class contains some methods to iterate trough that list for example and do something with the value. next () takes the next value of that list, the coder let it assign this value to a variable.
20th Jun 2017, 4:45 AM
Jonas Schröter
Jonas Schröter - avatar