2: Chapter 7 Flashcards
Array
An indexed structure that holds multiple values of the same type.
Index
An integer indicating the position of a particular value in a data structure.
Zero-based indexing
A numbering scheme used throughout Java in which a sequence of values is indexed starting with 0 (element 0, element 1, element 2, and so on).
Auto-initialization
The initialization of variables to a default value, such as on an array’s elements when it is constructed.
Array traversal
Processing each array element sequentially from the first to the last.
Sequential access
Manipulating values in a sequential manner from first to last.
Random access
Manipulating values in any order whatsoever to allow quick access to each value.
Value semantics (value types)
A system in which values are stored directly and copying is achieved by creating independent copies of values. Types that use value semantics are called value types.
Reference semantics (reference types)
A system in which references to values are stored and copying is achieved by copying these references. Types that use reference semantics are called reference types.
null
A Java keyword signifying no object.
Multidimensional array
An array of arrays, the elements of which are accessed with multiple integer indexes.