Use arrays instead!
An array is an ordered list of values.
Each value is stored at a position in the array
The number referring to the position is called an index
In Java, array indices begin at 0
40
85
89
12
90
g
0
1
2
3
4
Previous slide
Next slide
Back to first slide
View graphic version