🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7276

Re: can i change a int type Not Integer type argument in a function ?

#7276
From: Tor Iver Wilhelmsen
Date: Fri, 29 Jun 2001 07:42
9 lines
1270 bytes
John McGrath  [TeamB] <ng-b@JPMcGrath.net> writes:

> That is not correct.  Java passes primitive values by value.  It also 
> passes object references by value, which is really the same thing as 
> saying that it passes objects by reference.

... except that since you never have objects on the stack, there are
certain things which you can do with "pass by reference" in C++ you
cannot do in Java.
Technical Details
Message-ID: <u8zib68ba.fsf@sds.no>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3b3b1371_2@dnews> <3b3b7ae2_1@dnews> <3b3bda1e_2@dnews> <3b3bf625$1_1@dnews> <MPG.15a5e2518d11ab0b98a2ff@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,9b3cb30cd9a02399
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-06-29 00:45:42 PST
Sender: towi@SDSA1761
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: can i change a int type Not Integer type argument in a function ?
References: <3b3b1371_2@dnews> <3b3b7ae2_1@dnews> <3b3bda1e_2@dnews> <3b3bf625$1_1@dnews> <MPG.15a5e2518d11ab0b98a2ff@forums.borland.com>
From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no>
Date: 29 Jun 2001 09:42:33 +0200
Message-ID: <u8zib68ba.fsf@sds.no>
Lines: 9
X-Newsreader: Gnus v5.5/Emacs 20.3
NNTP-Posting-Host: 139.105.4.252
X-Trace: dnews 993800552 139.105.4.252 (29 Jun 2001 00:42:32 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews