Originally posted by manas ranjan mandal: what is the difference between syncronize a block and synchronize an entire method?
Difference is the object on which it is synchronized. In a sync block you specify the object you want to synchronize upon. A synchronize instance method synchronize on "this" A synchronize static method synchronize on "class" static member variable present for every class.