What is an object's lock and which object's have locks?

Hi,

What is an object's lock and which object's have locks?

Thanks,

View Answers

April 16, 2013 at 5:40 PM

Hi friend,

Locking of object is a technique used in multiple threading to access the object in synchronous manner. All objects and classes have locks.

For reading more please go through the following link

http://www.roseindia.net/java/thread/synchronization.shtml

http://www.roseindia.net/java/thread/









Related Tutorials/Questions & Answers:
Advertisements