when a synchronized block is used for synchronization on an object instance, then threads compete to get into object's implicit monitor. And once, any particular thread enters into the monitor, any other thread has to wait for entering into it.
// some code here
// no function call
must not enforce taking any particular type of object.
Thus any object type can be used here because every object has its implicit monitor.
Kindly reply me is it true?