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



Comment Added by : Jeremy

Comment Added at : 2010-01-13 23:02:11

Comment on Tutorial : Transient vs Volatile modifiers in Java By Reema sen
You should consider using different threads that are not instantiated from the same class, but different classes. The volatile keyword does not work. The only workaround is to use another moitor class. I will try to sync and see if thqat will help.

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. hi and thanks for this good example , i want ask i
View Tutorial          By: Maryam at 2011-12-17 11:19:07

2. I am an MCA student i wanna know whether one can s
View Tutorial          By: RAJU.K at 2009-07-24 02:28:21

3. i had a problem in running a java software jdk1.5.
View Tutorial          By: tej at 2009-06-30 08:50:27

4. Before i had lot of doubts in abstract class... no
View Tutorial          By: Mohandoss at 2012-04-02 05:08:43

5. very simple explanation......
easily unders

View Tutorial          By: saurabh at 2009-04-17 16:02:30

6. i am getting a force close...can anyone please hel
View Tutorial          By: jack at 2012-03-22 15:18:37

7. how to append more items in multiple choice group
View Tutorial          By: GIRIDHARAN at 2013-03-25 19:05:09

8. i added respective code to the Manifest in every c
View Tutorial          By: niko at 2013-04-19 18:23:41

9. i am getting following error

Error

View Tutorial          By: Pavan at 2009-11-26 21:31:22

10. what are the required equipments to run j2me
View Tutorial          By: messi at 2012-11-13 13:15:18