nextInt static method

int nextInt(
  1. int max
)

Implementation

static int nextInt(int max) => math.Random().nextInt(max);