Comment on Tutorial :wait(), notify() and notifyAll() in Java - A tutorial By JaganExcellent example Jagan. By the way I have a question.
isn't the synchronized get() and synchronized put(...) methods will cause deadlock? Should they be synchronized? Can you explain why they need to be synchronized??
Thanks