how to print out an arraylist in jaa code example Example: print arraylist java Arrays.toString(list.toArray())