Angka acak java dalam rentang tertentu
import java.util.Random;
Random rand = new Random();
int random_integer = rand.nextInt(upperbound-lowerbound) + lowerbound;
MitroGr
import java.util.Random;
Random rand = new Random();
int random_integer = rand.nextInt(upperbound-lowerbound) + lowerbound;
Min + (int)(Math.random() * ((Max - Min) + 1))
int rand = ThreadLocalRandom.current().nextInt(x,y);