title: Array not printing properly when using the Arrays.toString
body: <p>I am new to Java and was wondering what I did wrong. I am building a simple board game, but for some reason the array prints as an array of &quot;Ljava.lang.String;@4bec1f0c&quot;. I've read some similar questions to this problem but for some reason, the solutions that I have found does not work in my code.</p>
  <p>Help is appreciated.</p>
  <pre><code>for(int row = 0; row &lt; gameBoard.length; row++)
            {
                for(int col = 0; col &lt; gameBoard[row].length; col++)
                {                    
                      gameBoard[row][col] = &quot;- &quot;;
                }
            }
  System.out.print(Arrays.toString(gameBoard));
  </code></pre>