1public class Random {
2
3 public static void main(String[] args) {
4
5 Random random = new Random(long seed);
6 int bound = 5;
7
8 System.out.println(random.nextInt(bound));
9
10 }
11
12}
13/*
14Returns a pseudorandom, uniformly distributed int value between
150 (inclusive) and
16the specified value 5 (exclusive),
17drawn from this random number generator's sequence.