Quiz: Exceptions
Test your understanding of the concepts discussed in this chapter.
1
When dividing an integer by 0
, what type of exception will be thrown?
A)
NullPointerException
B)
ArithmeticException
C)
IllegalStateException
D)
NumberFormatException
Question 1 of 50 attempted
Get hands-on with 1400+ tech skills courses.