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


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

Re: void

From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: void
Date 2016-07-16 22:55 +0000
Organization A noiseless patient Spider
Message-ID <nmee0i$6im$2@dont-email.me> (permalink)
References <void-20160716231330@ram.dialup.fu-berlin.de> <void-20160716232644@ram.dialup.fu-berlin.de>

Show all headers | 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


Thread

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

csiph-web