posted 15 years ago
Hi,
The question is which letters will eventually appear somewhere in the output?
The answer is A, C, D, E, F.
I don't understand why E is in the output?
In the explanation it says, hardy has not synchronized on laurel. So I tried synchronized (laurel) in the code, then it prints A, C, D, F.
But I couldn't understand the concept here?
Please help.
Thanks.