Nullpointer exception is a very common exception. Why is it
not made as a checked exception?
Answer Posted / ajay kumar sharma
When a null value is passed to a method or a method
receieve null(nothing) value either a run time or vice-
versa, JRE or method will throw a nullpointer exception.
It is java's buit-in exception thrown at relevant time.
| Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
Explain the difference between the public, private, final, protected, and default modifiers?
What does || || mean in math?
What is e java?
Why can we not override static method?
How will you invoke any external process in java?
In which language java is written?
What are three advantages of using functions?
Can we sort list in java?
What are the actions that can occur when a thread enters blocked state?
Explain wait(), notify() and notifyall() methods of object class ?
How does a for loop work?
Give few examples of final classes defined in Java API?
What is the use of 'super' keyword inside a constructor?
Does list maintain insertion order java?
Explain the private field modifier?