Which type of lock is acquired when using a static synchronized method?

Last Updated :
Discuss
Comments

Which type of lock is acquired when using a static synchronized method?

Instance lock

Local lock

Class-level lock

Method-level lock

Share your thoughts in the comments