Q54
What will be the output of the following Java code? class array_output public static void main(String args[]) int array_variable[][] = 1, 2, 3, 4 , 5, 6, 7, 8, 9; int sum = 0; for (int i = 0; i < 3; ++i) for (int j = 0; j < 3 ; ++j) sum = sum + array_variable[i][j]; System.out.print(sum / 5);
A.
8
B.
9
AnswerC.
10
D.
11
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board