In java multidimensional arrays are implemented as array of arrays approach but not matrix form. code example
Example 1: two dimensional array in java example program
String[][][] data = new String[3][4][2];
Example 2: 2d arrays | java
int[][] arr = new int[row][column];