Vidyalelo
Java Programming · Q6

Flow Control

Programming · Java Programming · question 6

Q6

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

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board