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. give me the code
View Tutorial          By: roger at 2013-10-10 19:44:07

2. How to sort an Arraylist in some given order? Say,
View Tutorial          By: Arunava Chatterjee at 2015-03-07 04:17:51

3. Definitely Struts is great. I have posted an artic
View Tutorial          By: Ashish at 2008-09-02 08:04:49

4. for me also The code gives the following exception
View Tutorial          By: Nilesh Agrawal at 2012-06-06 15:55:02

5. Fantastic Post, can u pls tell me how can i pass q
View Tutorial          By: Kunal at 2012-08-07 07:02:41

6. I am using RMS but in my case i have to show 10 re
View Tutorial          By: Hemant at 2012-08-14 05:46:40

7. Awesome work! Ramlak, thank you for your help!
View Tutorial          By: ico at 2011-03-21 04:23:11

8. if the two StringBuffer object contain same String
View Tutorial          By: Avinash kumar at 2011-11-09 11:16:19

9. Hi
Can u plz tell me how to implement this

View Tutorial          By: Rohan at 2008-09-23 05:52:31

10. why we use the java in networking and What are the
View Tutorial          By: ali mohammed at 2015-10-11 22:34:36