Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Generating a random number

Random rnd = new Random();
int randomNumberTo10 = rnd.nextInt(10); // 0 - 9-ig generálhat számokat, 10-et sosem generál
Source by github.com #
 
PREVIOUS NEXT
Tagged: #Generating #random #number
ADD COMMENT
Topic
Name
2+8 =