Java Reference
In-Depth Information
8
A
RRAYS
Objectives
To give examples of representing data using two-dimensional arrays
(§8.1).
■
To declare variables for two-dimensional arrays, create arrays, and
access array elements in a two-dimensional array using row and col-
umn indexes (§8.2).
■
To program common operations for two-dimensional arrays (display-
ing arrays, summing all elements, finding the minimum and maximum
elements, and random shuffling) (§8.3).
■
To pass two-dimensional arrays to methods (§8.4).
■
To write a program for grading multiple-choice questions using two-
dimensional arrays (§8.5).
■
To solve the closest-pair problem using two-dimensional arrays (§8.6).
■
To check a Sudoku solution using two-dimensional arrays (§8.7).
■
To use multidimensional arrays (§8.8).
■
Search WWH ::
Custom Search