Transient Modifier: The transient modifier applies to the variables only.Transient variables are not serialized. These are not stored as the persistent state of an object. if u don't want to write sensitive information,while serialization, declare that variable as transient.It will not be written out. Transient variables can be declared as 'final' or 'static.
Thanks
Related Pages:
assert,access modfier - Java Interview Questions assert,access modfier can someone explain to me what assertion is all about in java. and what access modifier is transient Hi Friend,
To learn Assertion, please visit the following link:
http://www.roseindia.net