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
How do you create an array in java?
Write a program to print all permutations of string?
What is unicode in java?
What do you mean by scope of variable?
Explain the difference between throw and throws in java?
What is the difference between yielding and sleeping in java programming?
how to create multithreaded program? Explain different ways of using thread? : Java thread
What is composition in java?
How to access arraylist elements in java?
How do you decide when to use arraylist and linkedlist?
How does callback work in java?
what do you understand by the term string with respect to java?
Is the milky way in a void?
Can you add null to a list java?
What is the class in java?