How are local variable kept in Memory?
<p>I would like to know how to place a local variable in memory? In method1, do the variable take a place into memory, one time?
In method2, do the variable take a place after deleting old place in memory, for each time?</p>

<pre><code>public void method1() {
    Object obj = null;
    for(.....) {
        obj = come from other--&gt;

    }
}

public void method2() {
    for(.....) {
        Object obj = come from other--&gt;
    }
}
</code></pre>
