title: same value for seed used to create java Random on two machines
body: <p>If I use the same seed value for Random in  a java program and run this on two different machines ,will I get the same set of numbers?</p>
  
  <p>for example</p>
  
  <pre><code>    long seed = 123L;//may be taken from some database or something
      java.util.Random ran = new java.util.Random(seed);
      int ret = 0;
      for (int i= 0; i&lt; 10; i++){
          ret = ran.nextInt(1000);
          System.out.println("ret="+ret);
      }
  </code></pre>
  
  <p>I  always get</p>
  
  <pre><code>ret=782
  ret=450
  ret=176
  ret=789
  ret=795
  ret=657
  ret=834
  ret=837
  ret=585
  ret=453
  </code></pre>
  
  <p>If I run this multiple times on <strong>my computer</strong>,I would get the same set of numbers.. but suppose someone manages to get the secret seed value I used(by guessing or from the secret location where it was stored) and run this code on <strong>his machine</strong>,will he get the same set of numbers?</p>