Why Volatile?
How Compiler come to know about external event changeed d
variable or through program instruction it is changed? for
volatile variable?



Why Volatile? How Compiler come to know about external event changeed d variable or through progr..

Answer / gourav kumar

volatile is actually a keyword which is used in java. when
it is used before a variable then it tells the value of the
variable which is being modified by different threads.

the value of the variable will not be cached thread locally
all the read and write operation is done from direct to the
main memory.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Sun Certifications Interview Questions

i completed my mca in july,so i want to do sun certification plz suggest me which course is useful for me SCJP or SCJA or anyother course and how much fee for each certificate......plzz help

3 Answers  


sun server is slow

1 Answers   HCL,


What is the command to find the hidden files

7 Answers  


plese forward scjp 1.6 dumps to my mail pleaseeeeeee siddu.eld@gmail.com

0 Answers  


hi all i have done core java and advanced java But still not have proficiency in devolping web application so thinking for certification course anyone tell me from where i get best training for certification in SCJP and advanced java.

1 Answers   IBM,






what is the command to check the total memory in a solaris 9 server.

7 Answers   IBM,


what are the phases FSCK command?

3 Answers   TCS,


what will be cost of sub ceritification in java

3 Answers   IBM,


1)What is meant Host ID of a system? 2)How to Change the Host ID of a System? 3)for what purpose we change the Host ID of a system?

1 Answers  


what are the good books,sites to prprare for scjp?

2 Answers  


What is the features of Solaris and Advantage of solaris?

3 Answers  


Do any of you have SCJP 6.0 certification voucher valid till Aug 2010?

0 Answers  


Categories
  • Cisco Certifications Interview Questions Cisco Certifications (2321)
  • Microsoft Certifications Interview Questions Microsoft Certifications (171)
  • Sun Certifications Interview Questions Sun Certifications (45)
  • CISA Certification Interview Questions CISA Certification (744)
  • Oracle Certifications Interview Questions Oracle Certifications (64)
  • ISTQB Certification Interview Questions ISTQB Certification (109)
  • Certifications AllOther Interview Questions Certifications AllOther (295)