arraylist java int code example Example: integer arraylist ArrayList<Integer> contractValue = new ArrayList<Integer>();