title: How to generate 3 different integers?
body: <p>I would like to regenerate a random Int. I generate 3 Int like this:</p>
  
  <pre><code>Random a = new Random();
  int testa = a.nextInt(9 - 1) + 1;
  Random b = new Random();
  int testb = b.nextInt(9 - 1) + 1;
  Random c = new Random();
  int testc = c.nextInt(9 - 1) + 1;
  </code></pre>
  
  <p>And if 1 of them is same, I want to regenerate the Int. How?</p>