On 31 May 2002 at 5:51, Kevin Mukhar wrote:

> You are exactly opposite. Java does indeed make a local copy of any
> reference you pass. When you pass a reference to a method, the method
> gets a copy of that reference. That is the definition of pass by
> reference in Java.

That's why I said at the end - I may be wrong ;-)

Thanks for the explanation. I think the confusing part, to people coming 
with other language backgrounds, is that pas by reference doesn't 
always mean you work with the passed object.

Witold

To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to