Randomly select an item from a list
Clean Code:
List<String> list = new ArrayList<String>();
list.add("One");
list.add("Two");
String random = list.get(new Random().nextInt(list.size()));
Something like this?
Random randomizer = new Random();
String random = list.get(randomizer.nextInt(list.size()));