*
The moose likes Beginning Java and the fly likes tell me the differnce Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "tell me the differnce" Watch "tell me the differnce" New topic
Author

tell me the differnce

Nidhi Jain
Ranch Hand

Joined: Mar 26, 2006
Posts: 31
I have two methods...one is void static synchronized abc(int a);
and Second is void synchronized abc(int a);

now my ques is wats the diff with synchronized with static keyword or without?
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3419
    
  12
See my reply to this post and then see if you can work out the answer to this yourself.
[ March 10, 2008: Message edited by: Joanne Neal ]

Joanne
 
jQuery in Action, 2nd edition
 
subject: tell me the differnce
 
Similar Threads
lock
Abstract class??
Threads
problem with wait,notify