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. Hibernate with annotations and QBE api reduced our
View Tutorial          By: Andrew at 2011-04-29 10:34:26

2. it very useful to under stand
View Tutorial          By: gurav gupta at 2009-09-24 00:20:15

3. pl send me how to download java 2 micro edition do
View Tutorial          By: Narayana at 2013-02-21 10:08:27

4. short notes to struts,but i expect more explanatio
View Tutorial          By: jayashri at 2011-11-23 18:24:07

5. Good explanation but I think there's a slight mist
View Tutorial          By: Cheeseman at 2009-05-19 10:12:11

6. thanks , but i want it some thing like fibonici se
View Tutorial          By: Arpit Agrawal at 2015-01-04 18:34:41

7. Thankyou it is Working Fine .....
View Tutorial          By: PDCOE at 2009-02-11 23:02:29

8. comm.jar file for windows not available in sun. ca
View Tutorial          By: borus at 2015-03-25 07:19:57

9. Hello,
I want to attend Sun certified Java

View Tutorial          By: Ganeshraje Bhosale at 2015-08-17 05:22:00

10. Thank you very much. Now I know how to make an abs
View Tutorial          By: Alex at 2011-01-17 03:35:22