Another Example
lDeclare and instantiate an array called temps to hold 5 individual double values.
l
l            double[ ]  temps = new double[ 5 ];
l               
l                                 // declares and  allocates memory
l
temps[0]    temps[1]    temps[2]    temps[3]    temps[4]
        number of elements in the array
indexes or subscripts
     0.0             0.0             0.0             0.0               0.0