title: random integers between 2 values
body: <p>I'm new to programming java and i need to make random integers between 2 values. I could not find any relevant info in the oracle tutorials.</p>
  
  <p>because i'm new to java, most of what i researched i don't understand.
  I have looked at the following:</p>
  
  <p><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Random.html" rel="nofollow noreferrer">http://docs.oracle.com/javase/7/docs/api/java/util/Random.html</a></p>
  
  <p><a href="https://stackoverflow.com/questions/20389890/generating-a-random-number-between-1-and-10-java">Generating a Random Number between 1 and 10 Java</a></p>
  
  <p><a href="http://www.javapractices.com/topic/TopicAction.do?Id=62" rel="nofollow noreferrer">http://www.javapractices.com/topic/TopicAction.do?Id=62</a></p>
  
  <p><a href="https://stackoverflow.com/questions/363681/generating-random-integers-in-a-range-with-java">How do I generate random integers within a specific range in Java?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/5887709/getting-random-numbers-in-java">Getting random numbers in Java</a></p>
  
  <p>i have tried:</p>
  
  <pre><code>import java.util.Random;
  
  public static void main(String[] args) {
      Random randint = new Random();
      System.out.println(randint);
  </code></pre>
  
  <p>result:</p>
  
  <pre><code>java.util.Random@52e922
  </code></pre>
  
  <p>it appears to be printing the type of <code>randint</code>.</p>
  
  <p>so, how do i create a random integer between 2 values, and then print the result to the screen?</p>