A special null value is necessary to indicate that a reference points at nothing.
I felt obliged to point out that null is not necessary, but it is "just how
Java does it". There are much more elegant solutions to the problem
s that null is used to solve in language theory.