title: Reading a text file character by character into a 2D array in Java
body: <p>As part of my Object Oriented class, we are to design a Battleship game which uses a TUI to eventually implement a GUI. 
  According to the design, we are to read the AI's ship locations from a text file that will look similar to the one b</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code> ABCDEFGHIJ
  1
  2 BBBB
  3
  4       C
  5D      C
  6D
  7AAAAA
  8     SSS  
  9
  0</code></pre>
  </div>
  </div>
  </p>
  
  <p>Where the letters represent different ships. My current implementation of the game uses a 2 dimensional array of characters, so I would like to be able to read the text file and create the corresponding 2D array. I've seen a few built in functions that allow you to read the next String or the next Integer, but I just want to read it character by character. Is there a way to do this?
  Thanks in advance! </p>