60 750
Assignments Done
97,8%
Successfully Done
In April 2018

Answer to Question #20632 in Java | JSP | JSF for nohra

Question #20632

To access the number of rows in a two-dimensional array named grades, we use _________________
A) grades
B) grades[i].length
C) grades.size
D) grades.length()
E) grades.length
Expert's answer
the correct answer: B) grades[i].length

Example:

public class test {

public static void main (String ... args) {

& int[][] arr = new int[3][7];

& System.out.print(arr[1].length);

}
}

Result = 7;

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions