Transient Variables

Transient Variables

If we mark to the instance variable as a transient variables , When we enter to the serialize the object declaring it then the java to ignore this variable. 

Serialization is the very good and important feature of the java , When we would like We can save it and also called the flatten an object by writing its state we can also say the value of its instance variables to a special type of IO stream.

By:UMANG
Date:2025-02-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher