What exception type will catch the error raised by the expression 2 / 0?

What exception type will catch the error raised by the expression 2 / 0?
A . LogicException
B . RangeException
C . DivisionByZeroError
D . ArithmeticError

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments