Article View: borland.public.jbuilder.java.language
Article #8756Re: newbie question
From: Torsten Welches
Date: Fri, 02 Mar 2001 09:30
Date: Fri, 02 Mar 2001 09:30
12 lines
1234 bytes
1234 bytes
"sandelf" <sandelf@poczta.onet.pl> wrote: >How it is possible to create an instance of a class inside its >method (i.e. main)? I am not sure what you are asking. Why should it *not* be possible to create an instance of a class inside main or any other method for that matter? Apart from possible security restrictions you can create an instance of a class wherever you want. Torsten
Technical Details
Message-ID:
<3a9f6830_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!207.105.83.65References:
<3a9f5ade$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,3a5b2c9b663406b5 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-02 01:38:04 PST From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Sender: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Reply-To: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Subject: Re: newbie question Newsgroups: borland.public.jbuilder.java.language X-User-Info: 193.158.55.74 193.158.55.74 References: <3a9f5ade$1_2@dnews> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3a9f6830_2@dnews> Date: 2 Mar 2001 01:30:24 -0800 X-Trace: 2 Mar 2001 01:30:24 -0800, 207.105.83.65 Lines: 12 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!207.105.83.65