chen-w
8/17/2017 - 4:18 AM

random

random

Random

Random random = new Random();
random.nextInt();
random.nextInt(value);
return a random value [0, value)
Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence.