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



Comment Added by : karthikeyan

Comment Added at : 2009-09-18 04:50:37

Comment on Tutorial : Transient vs Volatile modifiers in Java By Reema sen
Hi thanks for your information.

I got simple solution for my breath taking problem.

I am programming using java communication API with Serial port.
There data is recieved very fastly.Each time we have to get data in multi threading. It is very tedious to get all information sometimes.

Solution:
By using my variable with volatile i have fixed my problem.And my application is running with 100%.


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 fiends,
your given approch is correct .

View Tutorial          By: Amit Kumar Singh at 2011-10-10 04:44:58

2. i am not getting output by using this code..after
View Tutorial          By: dhaval at 2011-01-03 03:42:28

3. I can't get it untill now. I need further explaina
View Tutorial          By: johnlie at 2011-01-19 20:31:09

4. Hello,

your solution is kinda overk

View Tutorial          By: Hdm-Student at 2010-06-16 08:10:51

5. Good Work ...
View Tutorial          By: Sagan at 2013-08-13 13:38:30

6. just I am need of some of the soft copy related to
View Tutorial          By: shani at 2015-08-12 06:01:05

7. it giving me error in following statment (using Li
View Tutorial          By: Priyadarsan at 2007-11-27 22:31:56

8. it is very very use full to us
View Tutorial          By: santhosh at 2008-12-07 14:46:13

9. the best site i have found so far for clearing my
View Tutorial          By: darkknight at 2013-06-05 05:54:10

10. I have a problem , i cant see the Microsoft.Office
View Tutorial          By: Japz at 2012-01-16 09:51:11