int[][] studentScores = {{70, 82, 90, 68},{95, 75, 67, 89},{98, 79, 57, 81}};Using the above two-dimensional array, what is the value of studentScores[0][0]? What is the value of studentScores[2][3]? What is the value of studentScores[1][2]? Describe how arrays reference values with subscripts.
What will be an ideal response?
studentScores[0][0] = 70
studentScores[2][3] = 81
studentScores[1][2] = 67
The value within the first set of brackets following the array name refers to the row.
The value within the second set of brackets refers to the column. Rows and columns begin with a value of 0.
Computer Science & Information Technology
You might also like to view...
The ________ graphic type used in a SmartArt graphic shows how parts relate to the whole
A) relationship B) list C) process D) matrix
Computer Science & Information Technology
CSS was first proposed as a standard by the W3C in ______.
a. 1996 b. 2002 c. 1992 d. none of the above
Computer Science & Information Technology