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
Answer» B. NullPointerException
1.1k
0
Do you find this helpful?
17

View all MCQs in

Java Programming

Discussion

No comments yet