I wanted to create a list of options for testing purposes. At first, I did this:
ArrayList places = new ArrayList(); places.add(\
If you need a simple list of size 1:
List strings = new ArrayList(Collections.singletonList("A"));
If you need a list of several objects:
List strings = new ArrayList(); Collections.addAll(strings,"A","B","C","D");