Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

select a random element from a list java

Random randomizer = new Random();
String random = list.get(randomizer.nextInt(list.size()));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #random #element #list #java
ADD COMMENT
Topic
Name
1+3 =