Multi-Dimensional Arrays
An Introduction with Examples in Java |
Prof. David Bernstein
|
Computer Science Department |
bernstdh@jmu.edu |
x
) and refer to
particular elements using the square bracket
operator (e.g., x[i]
)new
operator returns a memory address (reference)
which is normally assigned to a variable
Object
objects
(which is essentially an array of generic references)Object
array in order to use it[]
modifier in the
declaration
[]
operator when
accessing