nextInt abstract method

int nextInt(
  1. int max
)

Get new random number with max

Implementation

int nextInt(int max);