title: Get random numbers in a specific range in java
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/363681/java-generating-random-number-in-a-range">Java: generating random number in a range</a>  </p>
  </blockquote>
  
  
  
  <p>I want to generate random numbers using </p>
  
  <pre><code>java.util.Random(arg);
  </code></pre>
  
  <p>The only problem is, the method can only take one argument, so the number is always between 0 and my argument. Is there a way to generate random numbers between (say) 200 and 500? </p>