Simran Dass wrote:
Given the foll Question -
There are too many typos and errors present to tell just what this will do. Even if I fix them to get this to compile, the run method is never called as start is not called on any
thread.
Edit:
Except, if you do happen to call start on t immediately after it was created, then you'll see your results.
Question: what object is domore synchronized to? What object gets the called with notifyAll()?