This content has been marked as final. Show 3 replies
I believe it is because of the fact the private attributes of Base class will not inherited by the subclass Derived.
Thanks for your attention.
I thinks its not related to access restriction, we have accessor method for these private variables.
It is relates to instantiation of the class. e.g. if we instantiate Derived class using new key word then those Base class variable correctly initialized to default values and in case of unmarshall it does not.
we have accessor method for these private variables.That means 'get' methods. You need mutator ('set') methods too, otherwise the unmarshaller probably won't set them.