Switch - Java Quiz Question


What will be the output of the following program?


A
Value = 2
B
Value = 4
C
Value = 6
D
Value = 8
E
Compilation Error or Runtime Error