Transient Modifier

Transient Modifier

                                                         Transient Keyword

transient is the modifier applicable only for variables.
we can use transient keyword in the serialization context.
at the time of serialization if we don't want to save the value of the particular variable to meet security constraints we should declare it as transient.
at the time of serialization, JVM ignores the original value of the transient variable and saves the default value to the file hence transient means not to be serialized.




                                                                // In progress