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. Thank you for giving info.
View Tutorial          By: Deepak cheela at 2013-01-23 07:03:08

2. Shouldn't you call free() on the allocated memory
View Tutorial          By: Ritchie at 2012-05-09 14:14:49

3. Nice article..
View Tutorial          By: senthil at 2009-09-09 00:22:40

4. NO NO NO!!
120º not is 2.094395102393

View Tutorial          By: jsError at 2012-02-05 22:46:15

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

6. dear i have different files of ms access 2010 like
View Tutorial          By: neeo at 2012-01-16 07:02:20

7. This is really helpful.
View Tutorial          By: srikanth at 2009-03-11 08:04:04

8. it is good site , and i have cleared my doubts
View Tutorial          By: imtiaz at 2009-10-15 23:43:50

9. rms programe
View Tutorial          By: hardik at 2008-03-28 23:06:58

10. This is by far the easiest way I have yet seem, ma
View Tutorial          By: doahh at 2010-03-08 11:23:48