Newsletter:

need clarification

there is a question bugging me for a few weeks now..... i thought i shud put it across for the people to answer. consider the following code:

class Super
{
private int a;
Super()
{
a =10;
}
}
class subclass
{
int b;
subclass()
{
super();
b=15;
}
}

Now when we make an object of class subclass is the member variable 'a' inherited to the object. I know it cannot b accessed because it is declared private but is space allocated for 'a' when an object of subclass is created. Is there anyway to find out the size of the class object.