Exercises
-
6.6 Fill in the blanks in each of the following statements:
One-dimensional array
p
contains four elements. The names of those elements are , , and .Naming an array, stating its type and specifying the number of dimensions in the array is called the array.
In a two-dimensional array, the first index identifies the of an element and the second index identifies the of an element.
An m-by-n array contains rows, columns and elements.
The name of the element in row 3 and column 5 of array
d
is .
-
6.7 Determine whether each of ...
Get Java How To Program, Late Objects, 11th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.