Generate 8 Digit Unique Number In Java, so i tried to find for the solution how to get the unique data by using random function.