Home / Questions / What is a transient variable?
Explanatory Question

What is a transient variable?

👁 799 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

A transient variable is a variable that may not be serialized during Serialization and which is initialized by its default value during de-serialization.