2017  Kodetalk | Feedback | Privacy Policy | Terms | About
userimage

Serialization process in java

i have a scenario in my application where  Child class should be   serialized but  not parent class .

how to serialize the Parent object from the child class?


please provide  suggestion.....

userimage
The case you trying to explain here, we cannot get the initialized value of parent class. Even we assign value to parent class and try to deserialize the object, will get only default initialized value.
Answer is