A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
tell me the differnce
Joined: Mar 26, 2006
Mar 10, 2008 08:55:00
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?
Joined: Aug 05, 2005
Mar 10, 2008 09:19:00
See my reply to
and then see if you can work out the answer to this yourself.
[ March 10, 2008: Message edited by: Joanne Neal ]
I agree. Here's the link:
subject: tell me the differnce
problem with wait,notify
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015