Is there a way to have an object reference hold "null" like there is in Java? For example:
x = null;
I am programming a binary tree. If a node is queried as to whether or not it has a left/right child node, I need to be able to tell if the link points to another subtree, a leaf, or if it is empty (holds "null").