Quick question for developers WAT :)
bnn555
If java has no pointers why the most common error is the Null Pointer Exception ???
You are reading an article written by a citizen of eRepublik, an immersive multiplayer strategy game based on real life countries. Create your own character and help your country achieve its glory while establishing yourself as a war hero, renowned publisher or finance guru.
bnn555
If java has no pointers why the most common error is the Null Pointer Exception ???
Comments
cand declari o variabila de referinta (obiect) asta se considera ca si creerea de "pointer" catre un obiect
Null Pot Explica, pt ca nu mi-s developer WAT 🙂
de fapt chiar se creaza un obiect si un pointer pentru el, pointerul fiind asignat la variabila care crezi ca e de fapt obiectul.
Deci are pointeri dar te minte ca nu 🙂
.
java foloseste pointeri intern, dar developer-ul nu are acces la ei. este transparent
.
.