//let
some points:
1.changes in variable "a" means state of an object changes.
2."a" is private so it is not inherited by B.
my Que. is : when "a" changes state of which object's gets changed actually...???as it is not a instance variable of B type,, and there is only one object on heap of B..
i m new to
java so please try to help me to learn this language......
[Edit - added code tags - MB]