You access each of the array elements by referring to an offset from the array name followed by subscript within the braces. Array elements are counted from 0; therefore, the first array element is arrayName. In the LongArray example, LongArray is the first array element, LongArray the second, and so forth.
This can be somewhat confusing. The array SomeArray has three elements: SomeArray, SomeArray, and SomeArray. More Generally, SomeArray[n] has n elements that are numbered SomeArray through SomeArray[n-1].
Therefore, LongArray is numbered from LongArray through LongArray. Listing 15.1 shows how to declare an array of five integers and fill each with a value.