Data values in an array are called array elements.
Individual elements in an array are accessed by the indexed expression.
Array elements can be values of primitive data type or objects.
In Java, an array can only include elements of the same data type.
AJava array is a reference data type.
AJava array is created with the new operator.
An array can have multiple indices.
When an array is passed to a method as an argument, only a reference to an array is passed. A copy of an array is not created. Note: The reference to an array we are passing is a value of an array variable, and therefore, the call-by-value scheme is used here also.
The standard classes and interfaces described or used in this chapter are
List
Iterator
ArrayList
Map
LinkedList
HashMap
TreeMap
The Java Collection Framework includes many data structure classes such as lists and maps.
The List interface represents a linear ordered collection of objects.
The ArrayList and LinkedList classes are two implementations of the List interface.
The Map interface represents a collection of (key, value) pairs.
The TreeMap and HashMap classes are two implementations of the Map interface.