Examveda
Examveda

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

D. Throws an exception

Answer: Option C


This Question Belongs to Java Program >> Flow Control

Join The Discussion

Related Questions on Flow Control