how to output a random numbers on an interval math.random java code example
Example: java random number generator in range
int rand = ThreadLocalRandom.current().nextInt(x,y);
int rand = ThreadLocalRandom.current().nextInt(x,y);