Q27
In Java, what does the "default" case in a "switch" statement do?
A.
Indicates the end of the switch statement
B.
Repeats the switch statement
C.
Provides a block of code to execute when none of the cases match
AnswerD.
Throws an exception
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board