Chapter 10. Arrays
Even Solomon in all his glory was not arrayed like one of these.
In the Java programming language arrays are objects (§4.3.1), are dynamically created, and may be assigned to variables of type
Object (§4.3.2). All methods of class
Object may be invoked on an array.
An array object contains a number of variables. The number of variables may be zero, in which case the array is said to be empty. The variables contained in an array have no names; instead they are referenced by array access expressions that use nonnegative integer index values. These variables are called the components of the array. If an array has n components, we say n is the length of the array; the components of the array are referenced using integer ...