Solved

what is volatile access modifier in java?

Posted on 2009-07-16
5
311 Views
Last Modified: 2013-11-23
Hi could u please tell me about volatile access modifier, and also give some information regarding the difference between access modifier and access specifier

thanks and regards
0
Comment
Question by:haneefnb
  • 3
  • 2
5 Comments
 
LVL 20

Expert Comment

by:a_b
ID: 24867860
A very good explanation of volatile - http://www.mywalkin.com/forum/index.php/topic,447.0.html
0
 

Author Comment

by:haneefnb
ID: 24868031
thank u a b
but in that i see

Now every thread needs to reconcile its private copy of that variable with the master copy whenever it accesses that variable.

but i can't get the exact meaning of reconcile..could u plz explain that

Thanks and regards
0
 
LVL 20

Expert Comment

by:a_b
ID: 24868068
It means that it has to bring into sync the local cop and the master copy.
0
 

Author Comment

by:haneefnb
ID: 24868129
thank u

and u please explain the difference between access modifier and  access specifier also
0
 
LVL 20

Accepted Solution

by:
a_b earned 500 total points
ID: 24868214
If you open a new thread I can answer it in that....:)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now