how to read a number in a array list in java code example Example: integer arraylist ArrayList<Integer> contractValue = new ArrayList<Integer>();