title: How to generate three unequal numbers?
body: <p>Here the number generation :</p>
  
  <pre><code>for( int i=0; i&lt;3; i++) {
      int randomNumbers = random.nextInt(10) + 1; 
  }
  </code></pre>
  
  <p>And here I can receive the same digits.</p>
  
  <p>For example: <code>5,7,5</code>;</p>
  
  <p>But I need to receive only different numbers: <code>5,1,9</code>.</p>
  
  <p>Is it possible maybe with some little piece of code or I should write some method for it?</p>