Say I have 100 variables in a class which implements the serializable
interface.
I do not want to serialize 70 of those variables. How can I do this without using the transient
keyword?
Say I have 100 variables in a class which implements the serializable
interface.
I do not want to serialize 70 of those variables. How can I do this without using the transient
keyword?
Define a serialPersistentFields member that defines the members to be serialised.