how to display arraylist in java code example
Example 1: integer arraylist
ArrayList<Integer> contractValue = new ArrayList<Integer>();
Example 2: displaying an arraylist in java
Arrays.toString(list.toArray())
ArrayList<Integer> contractValue = new ArrayList<Integer>();
Arrays.toString(list.toArray())