Article View: borland.public.jbuilder.java.language
Article #7941Re: Language puzzle
From: Harry Whitehouse
Date: Wed, 02 May 2001 20:31
Date: Wed, 02 May 2001 20:31
13 lines
1268 bytes
1268 bytes
OK, a newbee will take a bite! Is it possible that boolean b would ever be undefined? IOW, neither set to true or false? Then the second implementation would return an undefined result string s whereas the first would return "false". I did a quick test in JB4 and simply declaring 'boolean b' seems to set it to false (at least in the debug mode), so I don't have any great confidence in my assessment. Best Harry
Technical Details
Message-ID:
<3af06e6d$1_1@dnews>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3aef3645_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,b65cd5c59c7b0e70 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-05-02 13:34:04 PST From: "Harry Whitehouse" <harry@envmgr.com> Newsgroups: borland.public.jbuilder.java.language References: <3aef3645_1@dnews> Subject: Re: Language puzzle Date: Wed, 2 May 2001 13:31:02 -0700 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 38.168.115.135 Message-ID: <3af06e6d$1_1@dnews> X-Trace: dnews 988835437 38.168.115.135 (2 May 2001 13:30:37 -0700) Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews