Saturday, 23 April 2016

What are the mechanisms in Java to provide Synchronization ?


Different Synchronization mechanisms in Java are :
  • synchronized keyword - method / block
  • volatile variables
  • Atomic variables
  • Explicit locks

No comments:

Post a Comment

Note: only a member of this blog may post a comment.