+ 1
Can any one tell java does not support pointer then why get null pointer exception.
3 Answers
+ 4
Java just hides its pointers so that you don't need to handle them ;)
+ 4
Make sure to initialize the variable correctly before trying to access the object.
If you need help on your code just link it here.
0
how to solve null pointer exception in java.