Yes, the class "gets" the lock instead of the instance (as Bruno pointed out, this terminology is inaccurate). A theme gets a lock using either a class object or an instance as a lock object). So you could have 3 threads running 3 synchronized methods at the same time if these methods are synchronized in their separate instances. If the method is synchronized in the class, then only one thread can execute it.
Kenny wyland
source share