dcsimg

What object does static synchronized methods use for locking?

John Zukowski

Static synchronized methods synchronize on the class object (this.getClass()) of the class.