posted 14 years ago
Hi
I am talking about Devaka's Practice Exam-1 Q:72.
I made simple change in this..
In main method if the synchronized block has lock on object SynchEx that is 'ss' then synchronization works. if it is td then it will go and run method before it completes main. So in run() 'this' is the ss not 'td' ..
I understood like this. Am I Right???