Arrays are objects.
Like other Java objects, they must be dynamically allocated with the new operation. The class has no name, has no body or definition, and is not associated with any class file in the library. Arrays have one method, an indexing operation that accepts integers from 0 to length-1 and selects individual elements from the array. The index method can be used on the left hand side of an assignment, which sets the corresponding element of the array to a new value. The elements of the array have the same type.