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. i want to make java editore in my major project.i
View Tutorial          By: pawan patel at 2012-04-14 11:15:19

2. nice...cleared this example....
View Tutorial          By: Waqas Mughal at 2010-03-13 21:21:46

3. Good Example esp. way it was presented.
View Tutorial          By: Arunlal at 2013-06-20 11:56:43

4. Hi Robert,

The precision statement

View Tutorial          By: George at 2015-01-31 06:25:18

5. hi friends im the biginer of java
how to co

View Tutorial          By: Rock at 2013-05-14 09:27:19

6. I want to send a message using mobile browser to s
View Tutorial          By: Richa Bhatia at 2009-12-08 22:33:36

7. very good explanation... thnx...
View Tutorial          By: gobu at 2009-04-05 23:43:19

8. This tutorial is really good for beginners.It help
View Tutorial          By: Prabhat Kumar at 2007-04-09 05:02:02

9. hello Ramlak I am getting Error Time Out At Step 6
View Tutorial          By: hardik at 2011-04-13 05:12:06

10. It's really helpful , thanks a lot
View Tutorial          By: Avijit at 2009-09-08 05:18:39