Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #34930
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Martin Gregorie <martin@address-in-sig.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: void |
| Date | Sat, 16 Jul 2016 22:55:14 -0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 18 |
| Message-ID | <nmee0i$6im$2@dont-email.me> (permalink) |
| References | <void-20160716231330@ram.dialup.fu-berlin.de> <void-20160716232644@ram.dialup.fu-berlin.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Sat, 16 Jul 2016 22:55:14 -0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="e5160e2be48f1ea550cf61512446f525"; logging-data="6742"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/mU2F/cNRToVy5DGcRyrKnQEyEAw3cqOo=" |
| User-Agent | Pan/0.140 (Chocolate Salty Balls; GIT 3663720 git://git.gnome.org/pan2) |
| Cancel-Lock | sha1:ND/yyFxuKVmmPi7sbfiw52LnH1Y= |
| Xref | csiph.com comp.lang.java.programmer:34930 |
Show key headers only | View raw
On Sat, 16 Jul 2016 22:27:15 +0000, Stefan Ram wrote: > ram@zedat.fu-berlin.de (Stefan Ram) writes: >>The result of a method declaration either declares the type of value >>that the method returns (the return type), or uses the keyword void to >>indicate that the method does not return a value. > > Some people hesitate to call »void« a type because types are types of > /values/, they think, and there is no value with the type »void«. > I'd hesitate too, because in Java its used to make it explicit that a method does not return anything. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread
Re: void Martin Gregorie <martin@address-in-sig.invalid> - 2016-07-16 22:55 +0000
csiph-web