🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #533

Re: Return the character from the respective ASCII code

#533
From: Alan Boldock
Date: Wed, 16 Aug 2000 00:00
20 lines
1150 bytes
cast to char!

int characterAsInt = 65;
System.out.println((char)characterAsInt);

Alan

"Michael Yeung" <michaely@alphanet.net.au> wrote in message
news:L45m5.99$ZC2.5192@nsw.nnrp.telstra.net...
> Hi all,
>
> Did anyone of you know how to return the character from the ascii code in
> Java ? For example, 65 will return A !!
>
> MICHAEL YEUNG
>
>
>
>
>
Technical Details
Message-ID: <IJkm5.90417$N4.2170626@ozemail.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <L45m5.99$ZC2.5192@nsw.nnrp.telstra.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,1654e71572b3fcd5
X-Google-Attributes: gid10d6db,public
From: "Alan Boldock" <aboldock@boldenterprise.com.au>
Subject: Re: Return the character from the respective ASCII code
Date: 2000/08/16
Message-ID: <IJkm5.90417$N4.2170626@ozemail.com.au>
X-Deja-AN: 658725416
Distribution: world
References: <L45m5.99$ZC2.5192@nsw.nnrp.telstra.net>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-Trace: ozemail.com.au 966383592 203.38.172.163 (Wed, 16 Aug 2000 09:53:12 EST)
Organization: www.boldenterprise.com.au
X-MSMail-Priority: Normal
Reply-To: "Alan Boldock" <aboldock@boldenterprise.com.au>
NNTP-Posting-Date: Wed, 16 Aug 2000 09:53:12 EST
Newsgroups: aus.computers.java