my problem is I want my program to make four unique random choices in range of numbers between 0 to 3 I tried to do it in random class but I could not, , if you could help by co
If you have your range in sometype of array, then just use a random over the length of the array.
For example if you have an int array called range. Then you could use:
range
java.utils.Random randomGenarator = new java.utils.Random(); return range[randomGenarator.nextInt(range.length)];