Java - printing two dimensional array
<p>I have a [20][20] two dimensional array that I've manipulated. In a few words I am doing a turtle project with user inputting instructions like pen up = 0 and pen down = 1. When the pen is down the individual array location, for instance [3][4] is marked with a "1".</p>

<p>The last step of my program is to print out the 20/20 array.</p>

<p>I can't figure out how to print it and I need to replace the "1" with an "X"</p>

<p>The print command is actually a method inside a class that a parent program will call...I know I have to use a loop...any help would be appreciated.</p>

<pre><code>public void printGrid()
        {
            System.out.println...
        }
</code></pre>
