fork download
  1. int arrayint[][] = new int[10] [20]
  2. int arrayint1[][] = {{1, 2}, {1, 4}, {5,6}};
  3. System.out.println(arrayint.length);
  4. System.out.println(arrayint1.length);
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: class, interface, or enum expected
int arrayint[][] = new int[10] [20]
^
Main.java:3: class, interface, or enum expected
System.out.println(arrayint.length);
^
Main.java:4: class, interface, or enum expected
System.out.println(arrayint1.length);
^
3 errors
stdout
Standard output is empty