code: public static void printResult(Number[][] m1, PrintStream out)
      {
          if (out == null)
          {
              return;
          }
          for (int i = 0; i < m1.length; i++)
          {
              for (int j = 0; j < m1[0].length; j++)
              {
                  out.print(" " + m1[i][j]);
              }
              out.println("");
          }
      }
docs: Print array-array.
  @param m1 array-array
  @param out printstream