Solved

what is volatile access modifier in java?

Posted on 2009-07-16
5
329 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 500 total points
ID: 24868214
If you open a new thread I can answer it in that....:)
0

Featured Post

Technology Partners: 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

Suggested Solutions

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…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This video teaches viewers about errors in exception handling.

733 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