create new 2 d array code example
Example 1: How to create a 2d array in java
int[][] arr = new int[m][n];
Example 2: declare matrix in java
int[][] multi = new int[5][];
multi[0] = new int[10];
multi[1] = new int[10];
multi[2] = new int[10];
multi[3] = new int[10];
multi[4] = new int[10];