🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Integer class

#15966
From: Jason C. Leach
Date: Sun, 11 Apr 1999 00:00
29 lines
1154 bytes
hi,

Can I do this:
  public void Read(Integer tmp)
  {
     try
    {
      tmp = new Integer(fin.read());
    }
    catch (IOException e)
    {
    }
    return;
}

If it comes in by refrence, I just replace the obj w. a new one w/ a new
value. Or am I not replacing the original object with a new one?

Thank,
    J
--


�,+���+,��,+���+,�*
....Jason C. Leach
..."Many Hands Make Light Work."
..- Unknown

-- PGP key on server: pgpkeys.mit.edu
Technical Details
Message-ID: <371170BB.63582C86@hotmail.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3710E522.7A438C7E@hotmail.com> <3710fa40.2311545937@forums.borland.com> <37113B97.9D2F41A9@hotmail.com> <37114da0.2332890198@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,48b0db82994ba0f7
X-Google-Attributes: gidf74b3,public
From: "Jason C. Leach" <leachjc@hotmail.com>
Subject: Re: Integer class
Date: 1999/04/11
Message-ID: <371170BB.63582C86@hotmail.com>
X-Deja-AN: 465336234
Content-Transfer-Encoding: 8bit
References: <3710E522.7A438C7E@hotmail.com> <3710fa40.2311545937@forums.borland.com> <37113B97.9D2F41A9@hotmail.com> <37114da0.2332890198@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language