Latest Tutorials| Questions and Answers|Ask Questions?|Site Map




Have Programming Question? Ask it here!
 
 
 


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



Advertisement
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 Tutorials/Questions & Answers:
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
Advertisements
 

 

 

DMCA.com