ArrayList idź do wartości Java

ArrayList<Integer> nums = new ArrayList<Integer>; //initialize the ArrayList
int num1 = nums.get(0); //gets the first value
Horrible Horse