Generate random numbers that can be divided by 2
<p>I need to generate random numbers that can be divided by 2
so : 2 4 6 8 10 12 14 16 18 .....</p>

<p>My code looks like:</p>

<pre><code>Random random = new Random();
int i = random.nextInt(20);
</code></pre>

<p>Hopefully you know what I want and you can help me.</p>