Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #34930 > unrolled thread

Re: void

Started byMartin Gregorie <martin@address-in-sig.invalid>
First post2016-07-16 22:55 +0000
Last post2016-07-16 22:55 +0000
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.


Contents

  Re: void Martin Gregorie <martin@address-in-sig.invalid> - 2016-07-16 22:55 +0000

#34930 — Re: void

FromMartin Gregorie <martin@address-in-sig.invalid>
Date2016-07-16 22:55 +0000
SubjectRe: void
Message-ID<nmee0i$6im$2@dont-email.me>
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       |

[toc] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web