[123] in java-interest
The null reference
daemon@ATHENA.MIT.EDU (Jeremy Fitzhardinge)
Fri May 26 16:22:14 1995
From: jeremy@sour.sw.oz.au (Jeremy Fitzhardinge)
To: java-interest@java.Eng.Sun.COM
Date: Fri, 26 May 1995 18:12:50 +1000 (EST)
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.
J
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com