variable declaring with in the loop block
<pre><code>class Sample {

    int a;

    public void abcx() {
        for (int i = 0; i &lt; 5; i++) {
            if (i % 2 == 0) {
                int b = i;
            }
        }
    }
}
</code></pre>

<p>How often gets <code>b</code> allocated?</p>
