Pergunta de entrevista da empresa Hi-Rez Studios

Can you set a reference to null.

Resposta da entrevista

Sigiloso

21 de mai. de 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.