8.3.1 Array Variables

The array classes have two important variables:

int size
Indicates the number of elements in the array. Although the array may have allocated additional space, this is the number of elements in use.
item err
Indicates the value to return when the array is accessed out of range.(ex. If the array had a size of 5 and was asked for element 6 or element -1 then the err value would be returned).