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

Which of these exceptions will be thrown if we use null reference for an arithmetic operation?
A. ArithmeticException
B. NullPointerException
C. IllegalAccessException
D. IllegalOperationException
 

Tìm kiếm

Back
Top