Hi-Rez Studios interview question

Can you set a reference to null.

Interview Answer

Anonymous

21 May 2021

No, you cannot reference a null. References always refer to an object wether valid or not. If you must have a null, you can create a pointer to a Null object, however referencing a null is like dividing by zero.