What is a transient variable?

Discussion in 'Computer Science and IT Students' started by Guest, Jan 1, 2007.

  1. Guest

    Guest Guest

    What is a transient variable?

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

Share This Page