🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

About class cast.

#7722
From: wuliao999 no
Date: Thu, 31 May 2001 07:51
4 lines
862 bytes
I get a class name from a string, for example:
String className="com.borland.myClass";
how can I cast an objects' type to this?
Technical Details
Message-ID: <3b15f7e6$1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,25286dd36905df6c,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-05-31 01:15:23 PST
From: "wuliao999" no
Sender: "wuliao999" no
Reply-To: "wuliao999" no
Subject: About class cast.
Newsgroups: borland.public.jbuilder.java.language
X-User-Info: 210.52.222.121 210.52.222.121    
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3b15f7e6$1_2@dnews>
Date: 31 May 2001 00:51:02 -0700
X-Trace: dnews 991295462 207.105.83.65 (31 May 2001 00:51:02 -0700)
Lines: 4
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews