🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help!!! I'm struggling!

#17733
From: Tor Iver Wilhelmsen
Date: Tue, 06 Oct 1998 00:00
14 lines
1025 bytes
On Mon, 05 Oct 1998 20:33:49 GMT, jazzysoft@my-dejanews.com uttered:

>How in the heck to you convert an integer to a character in Java???

int i = 75;
char c = (char) i;

Common way of using explicit casts in C-like languages.

-- 
"I had to upgrade the memory of my 8088 from to 256K to 640K just to play [Demon's Winter]."
 - gmadison@usa.net

Tor Iver Wilhelmsen        http://www.pvv.org/%7etoriver/
Technical Details
Message-ID: <362039e8.99690755@news1.telia.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6vbafd$ogg$1@nnrp1.dejanews.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,8a4692d074db4674
X-Google-Attributes: gidf74b3,public
From: toriw@online.no (Tor Iver Wilhelmsen)
Subject: Re: Help!!! I'm struggling!
Date: 1998/10/06
Message-ID: <362039e8.99690755@news1.telia.com>
X-Deja-AN: 398599239
X-NNTP-Posting-Host: 195.18.200.172
Content-Transfer-Encoding: 7bit
References: <6vbafd$ogg$1@nnrp1.dejanews.com>
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@telia.no
Organization: Viewpoint as (non-representative)
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language