On Mon, 10 Feb 2003 08:24:52 -0800 (PST)
Ashish Kulkarni <[EMAIL PROTECTED]> wrote:

 
> The method i want to use is synchronized, so that no 2
> classes can access it a time, and hence create some
> weird results.

If you keep everything inside your local block of code in the method and
use the local arguments passed in, I wouldn't think you'd need to do
either of you approaches.

public method( String var ) {
   //do stuff with var in here with and with new Instances of 
   // any other classes and you need and you should be fine.
}


-- 
Rick Reumann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to