Check out example codes for "java two dimensional arrays". It will help you in understanding the concepts better.

Code Example 1

int[][] 2darray = new int[rangee][colonne];

Code Example 2

Two dimensional array:
int[][] twoD_arr = new int[10][20];

Three dimensional array:
int[][][] threeD_arr = new int[10][20][30];

Code Example 3

int[][] multiples = new int[4][2];     // 2D integer array with 4 rows 
                                          and 2 columns
String[][] cities = new String[3][3];  // 2D String array with 3 rows 
                                          and 3 columns

Learn ReactJs, React Native from akashmittal.com