Java Reference
In-Depth Information
CHAPTER
7
M ULTIDIMENSIONAL
A RRAYS
Objectives
To give examples of representing data using two-dimensional arrays (§7.1).
To declare variables for two-dimensional arrays, create arrays, and access
array elements in a two-dimensional array using row and column indexes
(§7.2).
To program common operations for two-dimensional arrays (displaying
arrays, summing all elements, finding the minimum and maximum
elements, and random shuffling) (§7.3).
To pass two-dimensional arrays to methods (§7.4).
To write a program for grading multiple-choice questions using
two-dimensional arrays (§7.5).
To solve the closest-pair problem using two-dimensional arrays (§7.6).
To check a Sudoku solution using two-dimensional arrays (§7.7).
To use multidimensional arrays (§7.8).
 
 
 
Search WWH ::




Custom Search