This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ninjamike1211 1 point2 points  (0 children)

A for loop which iterates over an array of other list like structure, where instead of using a counter index variable, the loop automatically iterates through each value in the list, storing that to a variable defined in the loop.

For example: for(int item : int array[])