What exception does LINE A throw?
Correct Answer : A
Here, the exception thrown is an
a is initialised to zero and an expression is evaluated with the denominator as zero which throws the ArithmeticException with the message 'divide by zero'.
The answer is A
Topic: Why Java Throws Exceptions