Blogger

Delete comment from: Javarevisited

Anonymous said...

Hi all,
Why did the author use synchronized block rather than synchronized method?
I mean, was there any clear advantage for that?
Thanks

Mar 27, 2016, 5:50:25 PM


Posted to How Volatile in Java works? Example of volatile keyword in Java

Google apps
Main menu