public class IdentityMatrix { public static int[][] matrix(int n){ int[][] array = new int[n][n]; for(int row=0; row