Solved

what is volatile access modifier in java?

Posted on 2009-07-16
5
317 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupSum5 challenge 5 84
Java - Why doesn't this JFrame work 3 59
Way to decrease size of apk file 9 66
Facing this issue for maven proxy setting 2 10
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

770 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