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



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. It would be nice to add the line,


View Tutorial          By: Anonymous at 2009-08-30 07:59:10

2. what is - MSComm1. You haven declared it as a vari
View Tutorial          By: Craig at 2011-05-01 16:37:13

3. Hi Steven. It looks like your example program does
View Tutorial          By: Ben Hallinan at 2008-04-25 08:36:42

4. What is transient keyword in Java?


View Tutorial          By: Mohit at 2010-11-18 00:26:24

5. Hibernate can be an effective framework if one app
View Tutorial          By: Giao Vu at 2011-08-03 23:40:02

6. Hi, a have a problem using bsearch. i need return
View Tutorial          By: Daniel at 2009-03-30 04:11:13

7. NICE SITE
View Tutorial          By: MAEN ZIAD HUDAIB at 2009-07-01 01:55:28

8. Aoa. could anybody guide me about jsf with hibern
View Tutorial          By: imtiaz afridi at 2011-12-03 12:19:04

9. thanks a looooooooooooooooot
this can give

View Tutorial          By: bhagabat at 2011-07-24 02:39:59

10. Its awesome
View Tutorial          By: Ranjitha at 2012-08-02 10:21:59