where is a static method and a static variable stored in java. In heap or in stack memory
<p>For example:</p>

<pre><code>class A {
    static int i=0;
    static int j;

   static void method() {
       // static k=0; can't use static for local variables only final is permitted
       // static int L;
    }
}
</code></pre>

<p>Where will these variables be stored in java(stack or heap) and how.</p>
