NOTE

transient

Fields marked transient are excluded from default serialization and receive initial values after deserialization. These notes examine that behavior through examples.

JavaCreated Updated 1 min readhistorical

This is a historical learning note and may contain outdated or incomplete understanding.

Used during serialization. Fields marked with transient do not participate in serialization; during deserialization, their values are set to their initial values (null, 0).

Discussion

Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub