how to print a matrix in java

63

print 2d array in java -

int[][] array = new int[rows][columns];
System.out.println(Arrays.deepToString(array));

Comments

Submit
0 Comments