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. yes , this article is good & very help ful to
View Tutorial          By: Laxmipriya at 2011-05-02 02:36:36

2. Good Job.
Keep up the good work .

View Tutorial          By: Syed Imran at 2010-11-27 06:54:36

3. Hi all,
I'm getting this error on running

View Tutorial          By: shreya.g at 2008-06-23 00:13:52

4. how to get this list to be alphabetically correct?
View Tutorial          By: Vincent at 2011-06-14 07:36:58

5. very good helped me a lot
View Tutorial          By: Swaran at 2009-12-30 09:51:36

6. nice cursor beside learn java...but i do not know
View Tutorial          By: yazidie_y at 2008-03-08 03:33:03

7. I need JSP Code to send SMS to mobile.
View Tutorial          By: nana at 2010-03-12 22:43:22

8. Good one. Keep up the good work.
View Tutorial          By: zubair at 2012-02-23 10:18:36

9. its nice.. thank you so much.........
View Tutorial          By: rozen at 2010-04-14 11:21:07

10. Good intro..
View Tutorial          By: thirunavukkarasu at 2015-01-30 17:32:10