Examveda
Examveda

What is the default case in a "switch" statement used for?

A. Handling the case with value 0

B. Providing a default value for a variable

C. Terminating the switch statement

D. Handling cases where none of the specified cases match

Answer: Option D


This Question Belongs to Java Program >> Flow Control

Join The Discussion

Related Questions on Flow Control