The transient keyword is used to indicate to the JVM that the indicated
variable is not part of the persistent state of the object. All the Variables
which are part of the persistent state of an object are required to be saved
when the object is archived. At that time, the transient marker is ignored by
the Java runtime system.
we use transient in a class or instance variable declaration like other
modifiers. Serialization process in not applicable to the transient
variables.
To know more about this just click:
http:/www.roseindia.net/tutorialhelp/comment/36885
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Keyword- transient
Post your Comment