class Foo { void foo(String[] input) { int temp = input.length; char[][] board = new char[temp][]; for (int i = 0; i < temp; i++) { System.out.println(temp); } } }