Transcription: You access the elements of an array by specifying an index with the subscript operator. The first element of an array has index 0. The last element has an index 1 less than the size of the array. In this example, the array int array has 5 elements with indices from 0 to 4.