Arithmetic Exception - Java Quiz Question


What will be the output of the following program?


A
0
first operand should not be 0 incase of modulo division
B
second operand should not be 0 incase of modulo division
0
C
second operand should not be 0 incase of modulo division
first operand should not be 0 incase of modulo division
D
Compilation Error or Runtime Error