Switch example to print week days - Java Quiz Question


What will be the output of the following program.


A
Thursday
B
Compilation Error
C
Thursday
Friday
Weekend
D
Runtime error