what is volatile access modifier in java?

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
Who is Participating?
a_bConnect With a Mentor Commented:
If you open a new thread I can answer it in that....:)
A very good explanation of volatile - http://www.mywalkin.com/forum/index.php/topic,447.0.html
haneefnbAuthor Commented:
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
It means that it has to bring into sync the local cop and the master copy.
haneefnbAuthor Commented:
thank u

and u please explain the difference between access modifier and  access specifier also
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.