Random_Number_Class
1| import java.util.Random;
2|
3| public class Random_Number_Class
4| {
5| final static long serialVersionUID = 5;
6|
7| public Random_Number_Class()
8| {
9|
10| }
11|
12| public int Random(int iHigh)
13| {
14| Random randomNumbers = new Random();
15|
16| int iNum = randomNumbers.nextInt(iHigh);
17|
18| return iNum;
19| }
20|
21| }