Two-dimensional array Flashcards
1
Q
A
array is an array of
arrays.
A
two-dimensional
2
Q
Although a two-dimensional
array is actually an array of
arrays, it’s best to think of it
as having
of elements.
A
rows and columns
3
Q
Declaring
Two-Dimensional
Arrays
A
double[][] scores = new double[3][4];
4
Q
A is a loop
inside another loop. These
loops are particularly
useful when displaying
multidimensional data.
A
nested loop
5
Q
When the rows of a two-
dimensional array are of different
lengths, the array is known as a
A
ragged array
6
Q
True or false
Java does not limit the number
of dimensions that an array
may have. It is possible to
create arrays with multiple
dimensions, to model data that
occurs in multiple sets.
A
True