Solved

what is volatile access modifier in java?

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

705 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