Hi! I am finding it hard to make a list that contains another list of ints, like this;
int[] xList = new int[500]; // Initialize xList int[] xListNr2 = new int[500]; //Another intList ?[] listOfLists = new ? [2]; // List made to contain several int[] for[...] // For-loop to declare xListsValue /* Since I don't know how to initialize "listOfLists" problems occure here */ listOfLists[0] = xList; listOfLists[1] = xListNr2;
I don't know what to put at the '?' marks, help?