class Someobject
{
int i=10;
}
public class OtherObject
{
public static void main(String args[])
{
Someobject obj=new Someobject();
System.out.println(obj.i);
}
}
Please tell me in which section of the memory:
- This entire code will load.
- Where will
someobjectwill be stored. - Where will
objwill be stored - Where will
ibe stored.
Thanks every one in advance.