java program to find maximum and minimum number in an arraylist code example
Example: find max integer in arraylist java
List<Integer> list = new ArrayList<Integer>();
Collections.max(list)
List<Integer> list = new ArrayList<Integer>();
Collections.max(list)