Frage im Vorstellungsgespräch bei Tata Consultancy Services

What is difference between void and null?

Antwort im Vorstellungsgespräch

Anonym

6. Feb. 2016

void is a data type which tells that the variable's data-type is not defined yet, whereas null means there is no data.