What is a transient variable?
A transient variable is a variable that may not be serialized. If you don’t want some field to be serialized, you can mark that field transient or static.
A transient variable is a variable that may not be serialized. If you don’t want some field to be serialized, you can mark that field transient or static.