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 is difference between equal and == in java?
How do you escape sequences in java?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
Variable of the boolean type is automatically initialized as?
What is default locale java?
What super () does in java?
Who is the owner of java?
Explain how can you debug the Java code?
Do you know how to reverse string in java?
What is the use of a conditional inclusion statement in Java ?
Give few difference between constructor and method?
What is the use of hashmap in java?
What is the final method?
How does split work in java?
what is mena by object block any what is the use of that