Java: Serialization
October 4, 2019•946 words
Notes and FormatWhat: Convert an object into a stream of bytes by storing the state of the object.What gets stored in the byte stream:The member variables/fieldsfunction signature (but NOT the function's code) impacts the bytes created for the objectHow: "The default serialization mechanism for an object writes the class of the
object, the class signature, and the values of all non-transient and
non-static fields. References to other objects (except in transient or
static fields) cause those...
Read post