When java does not support pointers why does it throws NullPointerException?
When java
does not support pointers why does it throws NullPointerException?
Ans
= When we call method on reference variable that holds null then there is a possibility
of getting NullPointerException. Here the word pointer is no way related to
c,c++ pointers it is used purely by having dictionary meaning say indicating method
is invoked on reference variable that points to null value.
I am very much satisfied with your blog, thanks for updating.
ReplyDeletePHP Training in Chennai
web designing course in chennai
JAVA Training in Chennai
Hadoop Training in Chennai
Selenium Training in Chennai
German Classes in chennai
French Classes in Chennai
French Classes in T Nagar