Random.nextInt Method [AX 2012]

Returns the next random number from the random generator.

public int nextInt()

Run On

Called

Return Value

Type: int
The next random integer number from the random generator.

The value will be in the range from 0 to 32767 (0x7FFF).

Community Additions

ADD
Show: