herbert,
I did not get your point..
I dont think the code below works
public class test{
int[][] c;
c = new int[][]{{1,2},{3,4}};
}
I have the below code working:
public class test{
public static void main(String args[]){
int[][] c;
c = new int[][]{{1,2},{3,4}};
}
}
or we could do this:
public class test{
static int[][] c;
public static void main(String args[]){
c = new int[][]{{1,2},{3,4}};
}
}
Did I get it correctly?
thnks