I have worked with these a few times but they are still somewhat of a mystery to me. I am currently working on a script in which I need to implement an ArrayList so I can edit the data when I need to. I have only used ArrayLists in the first class to create the constructor of a second class, and initialized each parameter of the arrayList to separate variables in that constructor. This script is different, so there's a catch (or two). It's mixed data type of Strings and Ints. I need to either
1) create an ArrayList as described above but without initializing the parameters to separate variables (there's a lot of items in the ArrayList) but still use the items in the ArrayList.
2) create the ArrayList within the 2nd class and initialize it under the constructor (or a method).
3) Separate the ints and Strings into arrays and combine them into an ArrayList usable by the 2nd class. I know there's a much easier way than the way I'm doing it so that's why I'm requesting help here. That and I can't get any way to work.