initializng 2 d array ith specifc value jav code example Example: How to create a 2d array in java int[][] arr = new int[m][n];