What is a transient variable?

Q

What is a transient variable?

✍: Guest

A

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.

2012-05-30, 2387👍, 0💬