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. It's very very useful for me. thank you.
View Tutorial          By: thirumalai at 2009-01-28 03:25:25

2. Thanks for to solve my doubt.
View Tutorial          By: ANJILAIAH at 2010-10-08 09:46:11

3. Good Article. Small and Sweet...
View Tutorial          By: Anupam Pawar at 2009-05-27 03:04:08

4. </application>
<uses-permission an

View Tutorial          By: saurabh at 2012-01-17 05:00:21

5. write the program to convert the following:

View Tutorial          By: belgreen frodo at 2015-03-31 05:53:21

6. Comment: yes i understood too:D:D perfect and brei
View Tutorial          By: eman at 2009-04-21 23:57:26

7. It is very useful ....Thank U sooo much dear...
View Tutorial          By: Augustine Francis at 2014-06-24 16:55:21

8. Daniel, i think you need another func, also you ca
View Tutorial          By: רופא שיניים at 2009-08-15 16:48:07

9. excellent
View Tutorial          By: santosh at 2012-08-28 06:12:44

10. plzzz xplain all d buzzwads.....
View Tutorial          By: sindhu at 2010-12-10 08:49:27