hi!
there are two types of locks in java - lock on object and lock on class.
is acquiring class lock by a thread same as acquiring lock on xyz.class (instance of class 'Class') where xyz is a class???
thanks....
Printable View
hi!
there are two types of locks in java - lock on object and lock on class.
is acquiring class lock by a thread same as acquiring lock on xyz.class (instance of class 'Class') where xyz is a class???
thanks....