ArrayList myArray = new ArrayList();
Here ArrayList of the particular Class will be made. In general one can have any datatype like int,char,
string or even an array in place of Class.
These are added to the array list using
myArray.add();
And the values are retrieved using
myArray.get();