fork download
public class MyMatrix
{

   public static void main(String[] args)
   {


      System.out.print("  ");
      boolean [][] a;
      int N = Integer.parseInt(args[0]);
      a = new boolean [N][N];

      for (int i = 0; i<a.length; i++)
      {
         for (int j = 0; j<a[0].length; j++)
         {
            a[i][j] = true;
            int sum = (i+j);

            if (sum%3==0)
            {
               System.out.print("T ");
            }

            else
            {
               System.out.print("F ");

            }
         }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:30: reached end of file while parsing
         }
          ^
1 error
stdout

Standard output is empty