java two dimensional array from 0 to 99 code example Example: How to create a 2d array in java int[][] arr = new int[m][n];