I was looking at this old question and its chosen answer.
The chosen answer was originally,
ArrayList<ArrayList<Individual>> group = new ArrayList<ArrayList<Individual>>(4);
But was later modified to recommend this instead
List<List<Individual>> group = new ArrayList<List<Individual>>(4);
I didn't see an explanation for this on the page, can someone please explain why the second one is recommended over the first one? (I'm assuming it has to do with polymorphism)