Java Practice It | Self-Check 7.31: arrayCodeTracing2d | arrays, syntax, array basics

preview_player
Показать описание
More practice its:

Problem:

Question:
What are the values of the elements in the array numbers after the following code is executed?

int[][] numbers = new int[3][4];
for (int c = 0; c { numbers[0].length; c++) {
numbers[r][c] = r + c;
}
}
Рекомендации по теме