This week's book giveaway is in the Design and Architecture forum. We're giving away four copies of Communication Patterns: A Guide for Developers and Architects and have Jacqui Read on-line! See this thread for details.
Here in this program it gives output as 000000.. Now i am not getting why it is printing output like this even if values of the volatile variable is set via the constructor... . .