[126] in java-interest
Re: The null reference
daemon@ATHENA.MIT.EDU (Arthur van Hoff)
Fri May 26 17:21:23 1995
Date: Fri, 26 May 1995 13:28:21 -0700
From: Arthur.Vanhoff@Eng.Sun.COM (Arthur van Hoff)
To: java-interest@java.Eng.Sun.COM
Hi Jeremy,
> The Spec:
> 4.6.3 The null Reference
>
> The keyword null is a predefined constant that represents
> "no instance." null can be used anywhere an instance is
> expected and can be cast to any class type.
>
> Does this mean that "null" will be implicitly cast (widened) to
> whatever type is required? that is, it's not identical to being
> of type Object because that won't be implicitly widened.
Exactly.
Have fun,
Arthur van Hoff (avh@eng.sun.com)
http://java.sun.com/people/avh/
PS: For questions about HotJava and/or Java please use our
mailing lists java-interest@java.sun.com or hotjava-interest@java.sun.com
instead of mailing me directly. Thanks.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com