Question 1 of 10
A stamp club prints sheet values in row-major order. What text does this Java code display?
int[][] sheet = { {1, 2}, {3, 4} };
for (int r = 0; r < sheet.length; r++) {
for (int c = 0; c < sheet[0].length; c++) {
System.out.print(sheet[r][c]);
}
}
- A. 1234
- B. 1324
- C. 2413
- D. 13