aspose file tools*
The moose likes Beginning Java and the fly likes null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "null" Watch "null" New topic
Author

null

HP Tech
Greenhorn

Joined: Jun 23, 2004
Posts: 2
Is "null" an Object ?
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937
The short answer is "Nope". The longer answer comes from the Java Language Specification:


The null type has one value, the null reference, represented by the literal null, which is formed from ASCII characters. A null literal is always of the null type.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
HP Tech,

Welcome to JavaRanch!

We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.

Thanks Pardner! Hope to see you 'round the Ranch!


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: null