Search Interview Questions
| 3359 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. When it tries to access an object element or method using reference which is actually null.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  exceptions   npe   nullpointerexception Asked in 1 Companies basic   frequent|
|How can we protect an application from throwing a NullPointerException ?|