How would you find the mode of an ArrayList in Java?#
public class test {
public static void main (String [] args) {
ArrayList <Integer> max = new <Integer> ();
//* declared arrayList and gets values
#how do I calculate the mode of the arrayList?#