jata how to print ArrayList<Integer> code example Example: print arraylist java Arrays.toString(list.toArray())