Reference Variables

A variable of reference type can hold either of the following:

  • A null reference

  • A reference to any object whose class is assignment compatible with that type of the variable