When a object of child class is created,the object of parent class will be created automatically? and object of parent class occupied the memory like it is created: a y=new a();
If the answer is negative, Then how variable of parent can be accessed in child's object?