how to initialise a list in java code example
Example 1: java instantiate list with value
List strings = Arrays.asList("foo", "bar", "baz");
Example 2: list java initialize
List myList = new ArrayList();
Example 3: initialise List>
List> list = new ArrayList>();
##or since Java 1.7
List> list = new ArrayList<>();