title: Having x,y coordinates from 0-9 on a 2d dimensional array
body: <p>This is my code for a board game, however I'm unable to add my x,y coordinates 0-9. Can anyone help?</p>
  
  <pre><code>String[][] board = new String [10][10];
  for (String[] board1 : board) {
      for (int c = 0; c &lt;board.length; c++) {
          board1[c] = ".";
      }
  }
  
  for (String[] board1 : board) {
      for (int c = 0; c &lt;board.length; c++) {
          System.out.print(board1[c] + " ");
      }
      System.out.println();
  </code></pre>