an alternative implementation that is not as fast as a classic 2-loops approach:
System.out.println( Arrays.deepToString(board) .replaceAll("], ", "\n") .replaceAll("[\\[\\]\\,]", "") );