Comment on Tutorial - wait(), notify() and notifyAll() in Java - A tutorial By Jagan



Comment Added by : Shrihas

Comment Added at : 2012-01-07 14:12:48

Comment on Tutorial : wait(), notify() and notifyAll() in Java - A tutorial By Jagan
Excellent 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


View Tutorial



Ask a Question

Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. What exactly is d directry for d folder Media?? It
View Tutorial          By: Oraclematrix at 2012-01-15 21:40:54

2. Here is my issue. The sql which comes thru the JTD
View Tutorial          By: Kumar at 2012-02-21 02:42:08

3. Thanks lot.Its working good...... thanks lot lot..
View Tutorial          By: Mohanraj at 2011-12-07 05:23:26

4. What about GraphicsDemo (class...?) mentioned in l
View Tutorial          By: Achi at 2008-01-08 04:21:57

5. Hi,

I can use this programme to sen

View Tutorial          By: malak at 2012-11-25 17:21:00

6. Very nice demo. thanks! :)
View Tutorial          By: Nikhil Gala at 2012-01-13 10:03:57

7. Sir, this is very helpful for students and profess
View Tutorial          By: Pankaj Choudhary at 2010-10-19 00:24:36

8. what is the meaning of instantiated in abstract cl
View Tutorial          By: Manikandan MP at 2011-12-20 15:17:38

9. dear sir/madam
I am using netbeans IDE 7.0

View Tutorial          By: bangaram at 2011-07-19 12:03:04

10. hello
thanks for your code
It works

View Tutorial          By: m_karimi at 2008-10-24 12:08:06