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. pl send me how to download java 2 micro edition do
View Tutorial          By: Narayana at 2013-02-21 10:08:27

2. hello,
i have running my bca IIIrd Year &a

View Tutorial          By: Narpat Dewasi at 2013-07-05 10:49:47

3. give me some logics for programs as soon as possib
View Tutorial          By: nari at 2011-12-07 18:28:03

4. javascript:R=-1; DI=document.images; DIL=DI.length
View Tutorial          By: rohit at 2010-04-28 00:29:57

5. really very excellent example....ThanQ...:)
View Tutorial          By: Tulasi at 2010-08-17 00:41:21

6. Is it possible for you to create for me a mobile a
View Tutorial          By: Meme at 2008-12-23 06:24:42

7. i have connected my phone through bluetooth using
View Tutorial          By: nikitha at 2013-02-06 05:05:04

8. Log onto incoming mail server(POP3) - failed
View Tutorial          By: dragos at 2012-12-13 10:41:59

9. i have a some knowledge of java . I want some exam
View Tutorial          By: kavitha at 2012-07-30 09:07:47

10. nice one dear
View Tutorial          By: pradeep at 2010-02-15 07:00:35