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



Comment Added by : Chintan

Comment Added at : 2013-11-21 03:42:32

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

Since both the methods in the code which implement the Q class are Synchronized.

The threads will never be able to access it concurrently.
So the wait() method will never be called explicitly.

pls Correct me if i am wrong.


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. how to set the report for particularn form feilds
View Tutorial          By: mathivanan at 2012-09-21 00:05:07

2. hey,m i suspend the process before start to execut
View Tutorial          By: koustubh nakate at 2010-04-01 22:16:16

3. This code works for me. But i have a doubt how to
View Tutorial          By: Daya at 2015-05-04 12:04:19

4. ya its correct but tell me where is main method???
View Tutorial          By: kashiNATH MOKASHI at 2011-08-20 05:33:19

5. it giving me error in following statment (using wi
View Tutorial          By: prathamesh at 2007-03-16 05:57:20

6. Thanx..very useful in this pgm..
View Tutorial          By: priya at 2013-02-06 10:54:44

7. I want to using swith with string...
How to

View Tutorial          By: anuj at 2015-03-04 18:22:29

8. really friends its very useful site for java begin
View Tutorial          By: shekhar at 2011-05-21 03:04:32

9. thank for this
View Tutorial          By: ankit at 2011-07-15 06:48:21

10. Very nice article. Really liked the way it took me
View Tutorial          By: Sandeep at 2010-01-10 09:58:25