OK there are two problems I can see here first of all here:
public class siwtchMenu{
public String[][] arrayA(int x, int y){
String arrayTest[][] = {{"0", "1", "2"},{"0","1", "2"}};
return arrayTest[x][y]; //error is here
}
}
When you say pulic String[][] in that code you are saying you want to return a 2D array of strings but by saying arrayTest[x][y] you are only returning the string in the position [x][y]. Does that make sense to you? What you need to do is just replace String[][] with String, I believe that should work. However you haven't got the loop logic in case1 correct I think you should be able to figure it out once you get some feedback from the program with that change.
EDIT:
Ah just looked at your code again and maybe I misunderstood what you are trying to do. I assumed you want the loop in case1 to run through and call the method arrayA each time to return the value contained in it. What you are trying to do here :
System.out.println(obj.arrayTest[1][1]+ ", ");
is ask for the value of a variable in the class(which doesn't exist as copeg said). If my assumption is right you will want to change this to a method call. Otherwise you could declare the array as a public global variable or use the method to pass the whole array to the case1 class and store it in a new array there and loop through that one. Is any of this making sense? Let us know exactly what you want each method in each class to do.