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
What are the important features of Java 10 release?
What are loops in java? What are three types of loops?
When is the finalize() called?
What is queue in java?
What is the difference between call by reference and call by pointer?
Can a class be protected in java?
How can a gui component handle its own events in java programming?
How does a cookie work in Servlets?
What is static block?
What does string intern() method do?
Why pass by reference is not possible in java?
What is java instanceof operator?
Name some OOPS Concepts in Java?
How many types of variables are there?
Variable of the boolean type is automatically initialized as?