-3

What is difference between synchronized(this) vs synchronized(class) in Java.As per my belief synchronized(Class) will take lock on whole class.

0 Answers0