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



Comment Added by : Sanjeev

Comment Added at : 2010-06-25 00:21:35

Comment on Tutorial : wait(), notify() and notifyAll() in Java - A tutorial By Jagan
Just wanted to ask when the consumer is waiting for the producer to produce. How can produce produce because it cannnot get the key of the put function of Q class because consumer already has key and it is in the wait mode.

Could you clarify this?


View Tutorial



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. Right, so were is the tutorial files.zip?
O

View Tutorial          By: jeremy at 2011-10-24 15:58:40

2. This is probably a good java tutorial but it made
View Tutorial          By: lol at 2012-09-15 21:20:09

3. hi can u send me the complete working code for sen
View Tutorial          By: Amit Adhikaree at 2011-03-22 17:47:49

4. array is the one which can save similar data typed
View Tutorial          By: Cegonsoft Reviews at 2011-07-26 00:54:18

5. thanks brother
View Tutorial          By: shakeel at 2012-09-12 16:21:03

6. Hi, If any body was able to send the message suces
View Tutorial          By: Pradeep Singh Chouhan at 2011-03-02 23:03:05

7. I have loaded allthe 5 java files.But how to imple
View Tutorial          By: ashish at 2007-03-08 20:33:11

8. Thank you, for simple and useful example.
View Tutorial          By: Dmitriy at 2011-09-04 20:53:53

9. Thanks for good atricle. But this code will always
View Tutorial          By: Binod Suman at 2009-05-28 09:40:48

10. dude its forces closes everytime what to do .....h
View Tutorial          By: raam at 2013-01-10 13:05:57