Deepika Joshi wrote:-(when object is locked, no other thread can use the object until lock is released).
Deepika,
Thanks for taking the time to write the details of the process. It is a great explanation. However... it doesn't answer my main question
1. An object (say myTicket) is locked by ThreadA,
2. Another thread ThreadB cannot get a lock on myTicket till it is released by ThreadA
3. However,
can another thread CHANGE myTicket???
i.e. getting a lock on an object and changing its state are two different things, aren't they?
