can you explain me why its happends
<pre><code>package com.nex.test;

import java.util.Random;

public class RandomNum {

public void RandomNums() {
    int i = 0;
    Random r = new Random(100);
    while (i &lt; 10) {
        int x = r.nextInt() / 1000000;
        if (x &gt; 0) {
            System.out.println("Plus" + r.nextInt() / 1000000);
        } else {
            System.out.println("Minus" + r.nextInt() / 1000000);
        }
        i++;

        }

    }

    public static void main(String[] args) {
        new RandomNum().RandomNums();
    }
}
</code></pre>

<p>output here...</p>

<pre><code>Minus-1139
Plus-1220
Minus118
Minus1301
Minus-1279
Minus1068
Plus1147
Plus464
Minus-816
Minus1232
</code></pre>
