I made an array, let's call it x[], and in a seperate function "xprint", I typed
public static void xprint(){
System.out.println(x.length)
}
and it gave me: "cannot find symbol variable x"
why can't it see my array? they are both in the same class?