Random.nextInt Method
Returns the next random number from the random generator.
Syntax
public int nextInt()
Run On
Called
Return Value
Type: int
The next random integer number from the random generator.
Remarks
The value will be in the range from 0 to 32767 (0x7FFF).