The Nil Object

In the SmalltalkLanguage, "nil" is used to represent "no object."

It is...

Class Object defines an "isNil" method that answers (returns) false. UndefinedObject defined an "isNil" method that answers true.


See also WhatIsNull, TheNilObjectInStronglyTypedLanguages


CategoryNull


EditText of this page (last edited August 28, 2007) or FindPage with title or text search