What i wanted do is this:
class test{
public static String[][] p;
}
But something is wrong. When i try to write sth to it by using:
p[][]={...};
It says: "p cannot be resolved to a type".
EDIT: Ok, I see there were some problems with understanding what i am talking about so i post a code here.
public class Test{
static String[][] plansza;
public static void main(String []arg){
p[][]={ {" ","A", "B", "C", "D", "E", "F", "G", "H"},
{"1.","0","1","0","1","0","1","0","1"},
{"2.","1","0","1","0","1","0","1","0"},
{"3.","0","1","0","1","0","1","0","1"},
{"4.","0","0","0","0","0","0","0","0"},
{"5.","0","0","0","0","0","0","0","0"},
{"6.","2","0","2","0","2","0","2","0"},
{"7.","0","2","0","2","0","2","0","2"},
{"8.","2","0","2","0","2","0","2","0"}
};
}
p = new String[][]{{...},{...}};