I am trying to get non repeat random number from an array of numbers. Each time I try to get random value from that array, it should give me non repeat random number. The previous random values should not be repeated
int[] integer_array = {0,1,2,3,4,5,6,7};
int random_no = should be random number from above array
int random_no2 = should be random number from above array other than random_no
int random_no3 = should be random number from above array other than random_no
and random_no2
Random no from array can be generated for integer_array.length times.