Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to generate random number in java

import java.util.Random;

Random rand = new Random();
// You can also provide bound to it
rand.nextInt();
Source by coders911.org #
 
PREVIOUS NEXT
Tagged: #generate #random #number #java
ADD COMMENT
Topic
Name
2+5 =