transient keyword is used in serialization process and if you mark any variable as transient then they will not be serialized. this article also discuss some important points about transient variable and how to deal with them. transient is different than static or final variable.
Comments