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

Comment Added by : Yellappa

Comment Added at : 2010-06-11 05:49:15

Comment on Tutorial : wait(), notify() and notifyAll() in Java - A tutorial By Jagan
I have one doubt regarding this code,
if the producer thread is already synchronized on 'this' how does the consumer can enter get method which is again synchronized on 'this'.
And also in general i want to know why is wait(),notify() and notifyAll() are there in Object class.

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. Good Artical - Vagha
View Tutorial          By: Bharat at 2010-07-20 23:19:19

2. How can i download the comm.API .
pls tel

View Tutorial          By: Sajeer kc at 2015-01-16 04:12:28

3. i want simple program of function used in recursio
View Tutorial          By: manish at 2009-05-19 01:03:19

4. i have a problem ie., Animal is the super class an
View Tutorial          By: renuka at 2012-08-29 15:08:33

5. hi,
i am download 5 files and instantiate

View Tutorial          By: ganesh kumar at 2008-09-23 05:27:16

6. Good To understand.
View Tutorial          By: Radhika at 2010-05-11 01:24:55


View Tutorial          By: jAYGANESH at 2011-06-22 02:14:43

8. i think this ist perfectly fine :) if you don't kn
View Tutorial          By: julian at 2011-03-07 05:54:08

9. i see that lots of people get this exception : jav
View Tutorial          By: oded at 2008-09-28 03:33:33

10. To handle multiple submit buttons you can use stan
View Tutorial          By: Vic at 2008-12-23 12:03:43