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. i m new in java plz send some programs of java usi
View Tutorial          By: supriyo at 2009-09-02 02:03:38

2. Great details you provided here, very straight for
View Tutorial          By: Jackie Wong at 2010-02-05 10:52:25

3. thank u it hlep me a lot gr8.
View Tutorial          By: harish at 2012-03-31 14:34:50

4. Thanks.
View Tutorial          By: Joe at 2011-12-07 11:41:14

5. great tutorial but for me blob handling is still s
View Tutorial          By: Sarcina Saptamani at 2011-11-10 09:15:07

6. This is the best example for beginners. After read
View Tutorial          By: BB at 2014-05-20 05:24:09

7. could you guys maybe give an example using a 3 dim
View Tutorial          By: Steve at 2011-06-08 12:14:13

8. Thanks very use full ..
View Tutorial          By: bal mukund at 2012-08-21 05:42:36

9. Getting Invalid IPv4 format J2me Midp 2.0, Asp.net
View Tutorial          By: Anup at 2013-01-02 05:11:51

10. its really helpfull to understand.
View Tutorial          By: rakhi at 2010-08-08 12:45:05