Switch Method Output - Java Quiz Question


What will be the output of the following program?


A
i is zero.
i is one.
i is two.
i is three.
i is greater than three.
B
i is zero.
i is two.
i is greater than three.
i is zero.
i is tow.
i is greater than three.
C
i is zero.
i is two.
i is greater than three.
D
Compilation Error
E
Runtime Error