What you should use in your code? If synchronized keyword works with you use it as you will write less code and less room for error Use lock/condition