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 the difference between the ">>" and " >>>" operators in java?
What is compareto?
Explain the difference between map and flatmap stream operation?
Can we make the abstract methods static in java?
Why hashset is used in java?
What are the ways to instantiate the class class?
Which is dependent variable?
In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?
How does compareto work in java?
What does n mean?
Which eclipse is best for java?
Why are getters and setters used?
How to implement an arraylist in java?
Why are generics used?
Why put method is idempotent?