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. Very Nice Explanation.
View Tutorial          By: Anuj Bansal at 2012-08-25 12:23:59

2. Hi Satheesh, Look at http://www.java-samples.com/s
View Tutorial          By: Ryan at 2010-08-31 19:15:28

3. help me in my final project about arrays
View Tutorial          By: grace at 2013-03-13 09:54:11

4. Can anybody tell.... what if condition is doing in
View Tutorial          By: Randhir Sambyal at 2013-08-26 06:37:25

5. I want to know more about Java Garbage collection,
View Tutorial          By: Prosenjit Kundu at 2010-05-08 09:42:40

6. How would you use a switch statement to determine
View Tutorial          By: Shivak at 2013-09-27 01:48:41

7. #include<stdio.h>
void main(){

View Tutorial          By: niru at 2012-07-21 07:26:27

8. hi please help me . i want the full code to send t
View Tutorial          By: Prashant at 2008-04-16 06:08:23

9. plz send me java prograams
View Tutorial          By: simmy at 2009-10-26 01:57:55

10. Thanks ,got useful information on toString().
View Tutorial          By: jaffar at 2011-08-01 10:15:04