What is exact difference in between these two approaches?? Synchronize is doing the same thing, it holds the object lock and says to the another
thread to wait. When it releases the object lock, it is notifying the other thread, that it can now use the object.