Question d’entretien chez Hi-Rez Studios

Can you set a reference to null.

Réponse à la question d'entretien

Utilisateur anonyme

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