nnmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
Answers
Answered by
2
Explanation:
???
public class Print2DArray { public static void main(String[] args) { final int[][] matrix = { { 1, 2, 3 }, { 4, 5, 6 }, { 7, 8, 9 } }; for (int i = 0; i < matrix. length; i++) { //this equals to the row in our matrix. for (int j = 0; j < matrix[i]. length; j++) { //this equals to the column in each row.
Similar questions
Math,
20 days ago
Science,
20 days ago
India Languages,
1 month ago
English,
8 months ago
Environmental Sciences,
8 months ago
English,
8 months ago