This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes abt variable synchronization Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "abt variable synchronization" Watch "abt variable synchronization" New topic
Author

abt variable synchronization

sm mishra
Greenhorn

Joined: Dec 12, 2006
Posts: 5
A member variable that is an object reference, can we synchronize this member variable,i mnot clear about this
Pratap koritala
Ranch Hand

Joined: Sep 27, 2006
Posts: 251
you can do that with a synchronized block,but volatile makes much more sense
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: abt variable synchronization
 
Similar Threads
Variable Scope
sun sample question
Should I know how JSPs convert to servlet?
Newbie: when to use form and request params
JSF: Need advice on acheiving specific funcationality