random choice in a list java code example
Example: select a random element from a list java
Random randomizer = new Random();
String random = list.get(randomizer.nextInt(list.size()));
Random randomizer = new Random();
String random = list.get(randomizer.nextInt(list.size()));