Sunday 13 March 2016

The Java Language: The null value

The expression null can be assigned to any reference type. It means “no reference.” A null reference can’t be used to reference anything and attempting to do so generates a NullPointerException at runtime.

0 comments:

Post a Comment