P
Paul Tomblin
Ok, dumb question: If I have two static methods in a class, can I make
them both synchronized to make sure both methods aren't active at the same
time? Or should I declare a static Object and have synchronized blocks in
both methods?
them both synchronized to make sure both methods aren't active at the same
time? Or should I declare a static Object and have synchronized blocks in
both methods?