get max in int list java code example Example: find max integer in arraylist java List<Integer> list = new ArrayList<Integer>(); Collections.max(list)