could some one explane this java loop for me
<pre><code>import java.util.Random;

class arel {
    public static void main(String args[]){
        Random rand = new Random();
        int[] number = new int[7];
        for(int roll = 1; roll &lt; 100; roll++){
            ++number[1+rand.nextInt(6)];
        }
        System.out.println("Index\tValue");
        for(int count = 1; count&lt;number.length; count++){
            System.out.println(count+"\t"+number[count]);
        }
    }
}
</code></pre>

<p><code>++number[1+rand.nextInt(6)];</code> is that line mean insert random number for each index?</p>
