A row of numbered boxes
An array keeps values in a row. Each box has a position, called its index. The first box is at index 0, the next at 1, and so on. You read a box by writing its index in square brackets.
nums[0] is the first value.
nums[1] is the second value, not the first.
Step through the indices
7
02
19
24
35
4i
i = 0. nums[0] is 7, the first value.
Move 1 of 4