I wanted to create a list of options for testing purposes. At first, I did this:
ArrayList places = new ArrayList(); places.add(\
Simply use below code as follows.
List list = new ArrayList() {{ add("A"); add("B"); add("C"); }};