There is a variable z of type int. It is necessary to equate a random number from 100 to 239.

    1 answer 1

    new Random(System.currentTimeMillis()).nextInt(239 - 100) + 100 
    • one
      @SKYLINEGTR note that 239 will not be included. - yozh
    • Yes, thanks, I guessed) - SKYLINEGTR