If your object contains a Transient variable and if you write that object
into the file then on retreiving back the object from file you will get the
value corresponding to Transient variable as null
Also static variables are not serialized as they are not part of object state
No comments:
Post a Comment