Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java random between two strings

String[] s = {"your", "array", "of", "strings"};

Random ran = new Random();
String s_ran = s[ran.nextInt(s.length)];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #random #strings
ADD COMMENT
Topic
Name
1+6 =