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