Article View: borland.public.jbuilder.java.api
Article #904What does this code means?
From: andre veras
Date: Mon, 12 Aug 2002 21:45
Date: Mon, 12 Aug 2002 21:45
16 lines
1088 bytes
1088 bytes
Test Teste = new Test();
test = produceTest();
public Test produceTest()
{
.....
return test; // Test Object
}
Does this create a new object whith the values of test passed on the
produceTest() function or just a reference to the object created in the fuction?
Technical Details
Message-ID:
<60263c1b.0208121345.3ec5972f@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,de8b78ae1706efcb,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-08-12 14:45:50 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: andre.veras@bol.com.br (andre veras) Newsgroups: borland.public.jbuilder.java.api Subject: What does this code means? Date: 12 Aug 2002 14:45:49 -0700 Organization: http://groups.google.com/ Lines: 16 Message-ID: <60263c1b.0208121345.3ec5972f@posting.google.com> NNTP-Posting-Host: 200.214.130.10 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1029188750 23947 127.0.0.1 (12 Aug 2002 21:45:50 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 12 Aug 2002 21:45:50 GMT