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