Article View: pl.comp.lang.pascal
Article #80341Re: Proszę odpowiedź na pytanie
From: domin
Date: Mon, 20 Oct 2003 16:43
Date: Mon, 20 Oct 2003 16:43
22 lines
1416 bytes
1416 bytes
Łukaszmac wrote:
> Witam
> Pytanie brzmi:
> W Object Pascalu niepoprawna w klasie w części publicznej jest definicja:
>
> A)property I:Integer read getI write setI;
>
> B)property I:Integer read getI;
>
> C)property I:Integer read getI write setI; default;
>
> D)property I:Integer write setI;
> Prosze o szybką odpowiedź.
Odp. C - default nie można stosować do właściwości skalarnej,
tylko do tablicowej.
PS Z ciekawości - co to za test?
--
domin
Technical Details
Message-ID:
<bn13av$2b0$1@kastor.ds.pg.gda.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!news.task.gda.pl!news.ds.pg.gda.pl!not-for-mailReferences:
<bn0ksu$rt6$1@korweta.task.gda.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!news.task.gda.pl!news.ds.pg.gda.pl!not-for-mail From: domin <dominz@wp.pl> Newsgroups: pl.comp.lang.pascal Subject: Re: Proszę odpowiedź na pytanie Date: Mon, 20 Oct 2003 18:43:59 +0200 Organization: SKOS PG Lines: 23 Message-ID: <bn13av$2b0$1@kastor.ds.pg.gda.pl> References: <bn0ksu$rt6$1@korweta.task.gda.pl> NNTP-Posting-Host: domin.ds.pg.gda.pl Mime-Version: 1.0 X-Trace: kastor.ds.pg.gda.pl 1066668191 2400 153.19.221.30 (20 Oct 2003 16:43:11 GMT) X-Complaints-To: abuse@ds.pg.gda.pl NNTP-Posting-Date: Mon, 20 Oct 2003 16:43:11 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en In-Reply-To: <bn0ksu$rt6$1@korweta.task.gda.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit