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


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

Re: Every expression has a type?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!ipa.eternal-september.org!.POSTED!not-for-mail
From Jukka Lahtinen <jtfjdehf@hotmail.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Every expression has a type?
Date Mon, 30 Oct 2017 23:13:17 +0200
Organization A noiseless patient Spider
Lines 10
Message-ID <m3po94xrte.fsf@sonera.fi> (permalink)
References <Every-20171030130857@ram.dialup.fu-berlin.de>
Mime-Version 1.0
Content-Type text/plain
Content-Transfer-Encoding 8bit
Injection-Info ipa.eternal-september.org; posting-host="ccb2d6654a2e051f5451e9a994e6380e"; logging-data="28572"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+tCp1RVQtUy0fOzGiVRBCT"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
Cancel-Lock sha1:IodfDAHgNkDmM7u54CCpFEPYahE= sha1:yX4V/D4v+kR23w/at2vBGLPKJkw=
X-no-archive yes
Xref csiph.com comp.lang.java.programmer:37611

Show key headers only | View raw


ram@zedat.fu-berlin.de (Stefan Ram) writes:

>   But I can't remember what I was thinking of when I wrote
>   this. How can there be an expression in Java without a type?

How about null?
Is it cosidered to have a type, since null can be any type at all?

-- 
Jukka Lahtinen

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: Every expression has a type? Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2017-10-30 23:13 +0200
  Re: Every expression has a type? Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-10-30 18:07 -0400
  Re: Every expression has a type? Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2017-10-31 12:00 +0200
    Re: Every expression has a type? Robert Klemme <shortcutter@googlemail.com> - 2017-10-31 14:40 +0100

csiph-web