What is the difference between volatile and synchronized?

Davanum Srinivas

There's an excellent article at developerworks on when to use which of these keywords Use synchronized or volatile when accessing shared variables.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact