
how to use transient keyword?

Hi Friend,
The transient keyword is used to indicate that the member variable should not be serialized when the class instance containing that transient variable is needed to be serialized.
By default all the variables in the object is converted into the persistent but if the variable is declared as transient, then that variable will not be persisted.
Thanks