Article View: borland.public.jbuilder.java.language
Article #16571beginners java lang questions
From: info
Date: Wed, 27 Jan 1999 00:00
Date: Wed, 27 Jan 1999 00:00
15 lines
859 bytes
859 bytes
two things I'd like to know about java:
1. When looking at java code, one sees many statements like:
xclass xobject=new xclass()
isnt this use of the first "xclass" redundant? the new object HAS to
be of the type xclass, so why were the purposes of instantiation &
declaration separated?
2. why cant properties of components be accessed directly eg cant say:
buttonControl1.Label="some text"
have to say:
buttonControl1.setLabel("some text")
thanks,
Bryan
Technical Details
Message-ID:
<36af90c4.1869276@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,41acd0212bd83621,start X-Google-Attributes: gidf74b3,public From: info@nbinc.com (info@nbinc.com) Subject: beginners java lang questions Date: 1999/01/27 Message-ID: <36af90c4.1869276@forums.borland.com> X-Deja-AN: 437697929 Organization: Nilsson Bros. Inc. Newsgroups: borland.public.jbuilder.java.language