Skip to content

Instantly share code, notes, and snippets.

Created December 27, 2012 17:33
ArrayList<Integer> q3=new ArrayList<Integer>();
q3.add(4); /// Populate the arraylist
q3.add(6);
q3.add(10);
q3.set(1,((q3.get(1)+1))); ///adds 1 to the current location
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment