Written by the Fiveable Content Team โข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโขWritten by the Fiveable Content Team โข Last updated September 2025
Definition
Null is a special value in programming that represents the absence of a value or the lack of an assigned object. It is used to indicate that a variable does not currently have any valid data.
Related terms
Default Value: The default value is the initial value automatically assigned to variables if no other value is explicitly given.
Undefined: Undefined refers to a variable that has been declared but not yet assigned any specific value.
Empty String: An empty string is a string variable that contains no characters or spaces. It is represented by "" (double quotes with nothing inside).