JVM halts without completing method will the local variable still remains in stack?
<p>Local variables gets placed in stack when method is called and when JVM halts without completing the method, will the local variable still remain on the stack?</p>

<p>Example:</p>

<pre><code>void Method() {
    int a=2;
    System.exit(0);
    Foo f=new Foo();
}
</code></pre>
