At 04:24 PM 8/13/99 +0500, you wrote:
>Hey All,
>
>I started to write that Chris was right and Ted wrong, but then reread
>Ted's mail 5 or 6 times I think, If you do too, what you will see is
>that in effect whoever's theory you follow, any example will give a
>result that agrees with both of them. An example will prove this.
>
[snip]
No theory is necessary. You can look it up.
"All parameters to methods in Java are "call by value". That is, values of
parameter variables in a method are copies of the values the invoker
specified. ... When the parameter is an object reference, however, the
object reference is what is passed "by value", not the object itself."
- Section 2.6.1, The Java Programming Language, Arnold & Gosling, 1996
The remainder of the section is well worth reading, and not necessary to
reproduce here.
Steve Odendahl (who is hoping to help put an end to this thread)
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html