I wanted to create a list of options for testing purposes. At first, I did this:
ArrayList places = new ArrayList(); places.add(\
Yes with the help of Arrays you can initialize array list in one line,
List strlist= Arrays.asList("aaa", "bbb", "ccc");