Which of these exceptions is thrown if an application tries to use `null` in a case where an object is required?
Correct answer
NullPointerException
Explanation
NullPointerException is thrown when `null` is used where an object is required.
Update: Admin added a tag on this question
Topics
By Admin · · 24 views