Consider the following code segment
if (n != 0 && x / n > 100)
statement1;
else
statement2;
If n is of type int and has a value of 0 when the segment is executed, what will
happen?
(A) An ArithmeticException will be thrown.
(B) A syntax error will occur.
(C) statement1, but not statement2, will be executed.
(D) statement2, but not statement1, will be executed.
(E) Neither statement1 nor statement2 will be executed; control will pass to the
first statement following the if statement.