Pregunta de entrevista de Hi-Rez Studios

Can you set a reference to null.

Respuesta de la entrevista

Anónimo

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.