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



Comment Added by : Sasha

Comment Added at : 2012-01-24 14:34:03

Comment on Tutorial : wait(), notify() and notifyAll() in Java - A tutorial By Jagan
29. It is not a deadlock. What will actually happen is that consumer might start first and consume something, that has not been produced yet. That's why 27's code is not correct.

View Tutorial



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. Thanks for your code. Nice working but I have one
View Tutorial          By: Ravinder Kumar at 2012-01-02 18:01:21

2. For me it is executing without error, But not send
View Tutorial          By: Vijay at 2011-02-19 01:51:08

3. how to execute all the 5 files plz tell me step by
View Tutorial          By: asraf at 2007-11-14 22:29:20

4. hi
Can you anyone please post me the entir

View Tutorial          By: yasmeen at 2009-05-25 02:42:44

5. can u give a gud example on command line arguments
View Tutorial          By: shravan at 2010-04-09 23:11:18

6. Actually i had downloaded all the files but it thr
View Tutorial          By: bornwithpowers at 2009-11-11 04:48:21

7. top notch
View Tutorial          By: anu at 2010-03-15 01:46:38

8. i wish to get some example java programs to unders
View Tutorial          By: rebecca at 2010-01-09 03:14:42

9. thanks for all thanks for your help good bye
View Tutorial          By: ARAS at 2010-05-14 06:50:47

10. Nice example but does not work on me, after execut
View Tutorial          By: Junjie Zhang at 2012-01-10 03:26:12