Memory allocation in java
<pre><code>class Someobject
{
  int i=10;
}

public class OtherObject
{
  public static void main(String args[])
  {
    Someobject obj=new Someobject();
    System.out.println(obj.i);
  }
}
</code></pre>

<p>Please tell me in which section of the memory: </p>

<ol>
<li>This entire code will load.</li>
<li>Where will <code>someobject</code> will be stored.</li>
<li>Where will <code>obj</code> will be stored</li>
<li>Where will <code>i</code> be stored.</li>
</ol>

<p>Thanks every one in advance.</p>
