Multiple choice technology programming languages

null is a keyword?

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In most programming languages like Java, C#, and C, null is a literal value, not a keyword. Keywords are reserved words that have special meaning in the language syntax (like if, while, class), while null is a value that represents the absence of a reference. The distinction matters because keywords cannot be used as identifiers, whereas null is a valid literal in expressions.