ebuka
assert,access modfier
1 Answer(s)      4 years and a month ago
Posted in : Java Interview Questions

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.shtml

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

Ask Questions?

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.