Comment on Tutorial - Transient vs Volatile modifiers in Java By Reema sen



Comment Added by : Manoj Yadav

Comment Added at : 2011-11-23 09:33:23

Comment on Tutorial : Transient vs Volatile modifiers in Java By Reema sen
Transient: The transient modifier applies to variables only and it is not stored as part of its object’s Persistent state. Transient variables are not serialized. Volatile: Volatile modifier applies to variables only and it tells the compiler that the variable modified by volatile can be changed unexpectedly by other parts of the program.....
For more details please check this link,
http://www.mindstick.com/Interview/1086/What%20are%20Transient%20and%20Volatile%20Modifiers


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. 1
View Tutorial          By: hamza at 2015-06-08 15:09:29

2. i m very glad to know and use this site. this is w
View Tutorial          By: Rupinder at 2009-09-08 08:49:23

3. Thanks..
Short & Sweet Description.

View Tutorial          By: Prashaad at 2012-02-23 17:37:14

4. thanku this is very good example
View Tutorial          By: priyanka at 2012-10-02 13:08:49

5. my query is like this: " accept a string, cou
View Tutorial          By: samtopper at 2014-07-31 17:40:25

6. I will try
View Tutorial          By: bridges at 2009-09-06 22:09:46

7. Its working perfectly for me.Thanks so much for pr
View Tutorial          By: Sunpenn at 2009-10-13 00:53:09

8. super example...it very useful for me...
View Tutorial          By: elan at 2011-06-02 07:54:39

9. Good day. I managed to get the application to work
View Tutorial          By: thabiso at 2011-06-03 09:21:32

10. great solution and brief explanation, love it.
View Tutorial          By: habesha at 2011-12-02 16:14:45