A good "battle" around this topic:
https://news.ycombinator.com/item?id=9519773
https://news.ycombinator.com/item?id=9519773
List<String> people = Arrays.asList("me", "you");
Mutable
ArrayList<String>
people
= new ArrayList<>(Arrays.asList("me", "you"));
or use the double brace initialization:
ArrayList<String>
= new ArrayList<String>() {{ add("Me"); add("You"); }}
people