Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java random a-z

/* import java.util.Random; */
Random r = new Random();

char c = (char)(r.nextInt(26) + 'a');		// lowercase
char c = (char)(r.nextInt(26) + 'A');		// uppercase
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #random
ADD COMMENT
Topic
Name
7+2 =