title: How to make a unique random number generator?
body: <p>This code is obviously a random number generator, but how do i get it to be unique in the simplest way possible?</p>
  
  <pre><code>import java.util.Random;
  
  
  public class Scramble {
  
  public static void main(String[] args) {
  
              for (int i=0; i &lt; 10; i++)
              {
  
              Random randomGenerator = new Random();
              int n = randomGenerator.nextInt(10);
  
              System.out.println("Random number is " +n);
              }
  
        }
  
  }
  </code></pre>