An indexed for loop is a control flow statement used to iterate over a collection (such as an array or ArrayList) by using an index variable that increments or decrements with each iteration.
Related terms
Index variable: A variable that keeps track of the current position within a collection during iteration.
Increment/decrement operator: The operation performed on the index variable inside a loop to update its value.
Loop body: The set of statements executed during each iteration of an indexed for loop.