Interview Questions

What are Transient variables?

During Serialization process, if a variable is defined as transient, then it will be skipped for serialization process. The state of the transient variable will not be maintained in the serialized object. During de-serialization, the transient variable state and value cannot be obtained.