Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #26563 > unrolled thread
| Started by | "Qu0ll" <Qu0llSixFour@gmail.com> |
|---|---|
| First post | 2013-11-22 14:02 +1100 |
| Last post | 2013-11-22 14:02 +1100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.java.programmer
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: the true literal "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-11-22 14:02 +1100
| From | "Qu0ll" <Qu0llSixFour@gmail.com> |
|---|---|
| Date | 2013-11-22 14:02 +1100 |
| Subject | Re: the true literal |
| Message-ID | <zK6dnctvYvLpVBPPnZ2dnUVZ_hSdnZ2d@westnet.com.au> |
"Stefan Ram" wrote in message news:true-20131122032105@ram.dialup.fu-berlin.de... > The JLS says: > > »While true and false might appear to be keywords, > they are technically Boolean literals (§3.10.3).« > > What is a keyword? > > I used to think that a keyword is a words whose meaning is > given by the language specification and that cannot be > declared as an identifier in source code. I believe that all > of this applies to »true«. So, why then it is not called a > keyword in Java? Do the terms "keyword" and "literal" have to be mutually exclusive? To me, 'true' and 'false' have properties of both terms though I would favour 'literal' if I had to make a choice. -- And loving it, -Qu0ll (Rare, not extinct) _________________________________________________ Qu0llSixFour@gmail.com [Replace the "SixFour" with numbers to email me]
Back to top | Article view | comp.lang.java.programmer
csiph-web