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 loops in java? What are three types of loops?
What is r in java?
What is an inner class in java?
How many digits is int32?
How do weakhashmap works?
How to handle a web browser resize operation?
What is :: operator in java?
What are the advantages of autoboxing?
What are the methods of object class ?
Explain what access modifiers can be used for variables?
What is the difference between hashset and treeset in java?
Can we change the value of static variable?
What are use cases?
How does a for loop work?
Is there any tag in htm to upload and download files?