Serialize the Person class in the standard way. Add the transient modifier to some fields, if necessary.
Serializing people
- 6
Locked
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Anonymous #11016365
3 October 2022, 00:36
If we make certain fields transient and they are ignored during the serialization process, how do we ensure that these instance variables are restored upon deserialization?
0