assert,access modfier
View Answers
April 22, 2009 at 3:52 PM
Hi Friend,
To learn Assertion, please visit the following link:
http://www.roseindia.net/javatutorials/use-assertion-in-java.shtmlTransient 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 Tutorials/Questions & Answers:
assert,access modfier - Java Interview Questionsassert,
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