Home / Programming MCQs / JAVA MCQs / Question

R

Ram Sharma • 188.81K Points
Coach

Q. Which of these exceptions will be thrown if we use null reference for an arithmetic operation?

(A) ArithmeticException
(B) NullPointerException
(C) IllegalAccessException
(D) IllegalOperationException

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.