The Nil Object

last modified: August 28, 2007

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


Loading...