{ 2, 4 } You can print the contents of an array. for (int c = 0; c < matrx[r].length; c++) { //for loop for column iteration. posted 2 years ago. for(int c=0; c
2020 how to print 2d array in matrix form in java