Can you please paste your code using [code] tag, It is really very difficult to understand the code..!! need more time..!!
all I understood from your code is that:
Line 1:
Class level lock --> It is good when we have multiple threads running on different instance.
------------------------------------------
Line 2: Locking nothing --> compiler Error
------------------------------------------
Line 3:
Object Level Lock --> It is good when we have multiple
thread running on same instance.