Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

random between two numbers java

Random r = new Random();
int low = 10;
int high = 100;
int result = r.nextInt(high-low) + low;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #random #numbers #java
ADD COMMENT
Topic
Name
4+8 =