Question: what is the difference between object lock and class level lock?
Answer: Object level lock is achieved to restrict same object to operate through different thread,where as class level lock is achieved to restrict any object to operate. Nope, both can execute concurrently. 1. When class level lock is applied on one method synchronized(SomeClass.