public class Main {
static ArrayList<int[]> myArrayList = new ArrayList<int[]>();
public static void main(String[] args) {
myArrayList.add(new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9});
myArrayList.add(new int[]{9, 8, 7, 6, 5, 4, 3, 2, 1});
PrintInts(0);
}
public static void PrintInts(int ArrayInArrayList) {
int IntToPrint = 0;
System.out.println(myArrayList.get(ArrayInArrayList)[IntToPrint]);
}
}