Demonstrating when volatile is required
vanillajava.blogspot.com