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



Comment Added by : Shrihas

Comment Added at : 2012-01-07 14:12:48

Comment on Tutorial : wait(), notify() and notifyAll() in Java - A tutorial By Jagan
Excellent example Jagan. By the way I have a question.
isn't the synchronized get() and synchronized put(...) methods will cause deadlock? Should they be synchronized? Can you explain why they need to be synchronized??
Thanks


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. fantastic explaination about XML parsers
View Tutorial          By: smitha at 2011-05-15 04:53:00

2. Hi Gaurav, The sample in this tutorial is just a c
View Tutorial          By: Ramlak at 2009-01-28 20:00:08

3. how to run file IO program?
isn't that must

View Tutorial          By: farah at 2009-08-24 02:41:59

4. I wanna to name ,subject and marks of every subjec
View Tutorial          By: raveesh yadav at 2012-10-13 19:56:47

5. /
//BSIT
//
#include<iost

View Tutorial          By: Joshua Torres at 2012-10-05 16:59:17

6. can i have a piece of program so that i can improv
View Tutorial          By: miniboss at 2010-11-12 06:09:41

7. give an recursive example using string
View Tutorial          By: sauk at 2011-08-22 16:16:41

8. I need how to connect with database connection in
View Tutorial          By: BenGunn at 2010-01-12 03:33:44

9. #include<iostream>
#include<conio.

View Tutorial          By: XavioR at 2011-01-31 00:53:11

10. Session Bean = client data is maintained upto pred
View Tutorial          By: Chetankumar at 2012-05-19 11:12:17