Article View: borland.public.jbuilder.java.language
Article #17700Re: Class question
From: Hadi Abdo
Date: Mon, 19 Oct 1998 00:00
Date: Mon, 19 Oct 1998 00:00
15 lines
1015 bytes
1015 bytes
Hello,
Generally before using the attributes of an object this object should be
initialized (point to something).
Nameofclass ObjectName; // leaves ObjectName = null
Before executing
ObjectName.AttributeName = some value
the instruction
ObjectName = new Nameofclass();
should be executed to initialize the object. Otherwise, ObjectName is
still pointing to null.
Hope this helps
--
HADI ABDO
Technical Details
Message-ID:
<362B6D02.606BD919@dm.net.lb>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bdfb4d$4c1f1180$881aea9e@ukp10008>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,72a43837123bfe6a X-Google-Attributes: gidf74b3,public From: Hadi Abdo <skfdid@dm.net.lb> Subject: Re: Class question Date: 1998/10/19 Message-ID: <362B6D02.606BD919@dm.net.lb> X-Deja-AN: 402838526 Content-Transfer-Encoding: 7bit References: <01bdfb4d$4c1f1180$881aea9e@ukp10008> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Reply-To: skfdid@dm.net.lb Newsgroups: borland.public.jbuilder.java.language