Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

what is volatile access modifier in java?

Posted on 2009-07-16
5
Medium Priority
?
357 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 total points
ID: 24868214
If you open a new thread I can answer it in that....:)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
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…
Suggested Courses

636 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