An array is an object that can be used to store a list of values. The picture shows an array. The name of this array is data . The slots are indexed 0 through 9, and each slot holds an int . Each slot can be accessed by using its index .
Indexes always start at zero, and count up by one's until the last slot of the array.
If there are N slots in an array, the indexes will be 0 through N-1. Sometimes the index is called a subscript .