+ 1

Can any one tell java does not support pointer then why get null pointer exception.

24th Oct 2018, 4:18 AM
DEVENDRA KUMAR
DEVENDRA KUMAR - avatar
3 ответов
+ 4
Java just hides its pointers so that you don't need to handle them ;)
24th Oct 2018, 4:22 AM
Tashi N
Tashi N - avatar
+ 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.
24th Oct 2018, 4:25 AM
Tashi N
Tashi N - avatar
0
how to solve null pointer exception in java.
24th Oct 2018, 4:23 AM
DEVENDRA KUMAR
DEVENDRA KUMAR - avatar