Inside the static method, there is no "this". So a thread acquiring lock on the static method has no bearing of the lock of the syncrhonized instance method. So while a thread executing a static synchronized method, it has no bearing on any thread acquiring the lock on any object of the class to execute a synchronized instance method.
Thanks and Regards, cmbhatt [ March 31, 2007: Message edited by: Chandra Bhatt ]
Do you come to any conclusion after executing this code? "While a thread is executing static block of code, other threads still can access the synchronized instance methods, and why only synchronized all other methods too except static methods because there is one and only lock of the static method per class"