SE450
:
Arrays
[44/53]
Array access with
[]
operator:
int n = numbers[i];
length
member yields number of elements
for (int i = 0; i < numbers.length; i++)
Or use "for each" loop
for (int n : numbers) . . .