This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 3432
    
  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
 
Don't get me started about those stupid light bulbs.
 
subject: tell me the differnce
 
Similar Threads
lock
Abstract class??
Threads
problem with wait,notify