"symbol not found" trying to reference an array : <p>I made an array, let's call it x[], and in a seperate function "xprint", I typed</p>

<pre><code>public static void xprint(){
   System.out.println(x.length)
</code></pre>

<p>}</p>

<p>and it gave me: "cannot find symbol variable x"</p>

<p>why can't it see my array? they are both in the same class?</p>
