Computer Science, asked by maari1975muthu, 4 months ago

significance of default in switch case​

Answers

Answered by Anonymous
0

A switch statement can have an optional default case, which must appear at the end of the switch. The default case can be used for performing a task when none of the cases is true. No break is needed in the default case.☺☺☺

Answered by sathvi015
1

Explanation:

A switch statement can have an optional default case, which must appear at the end of the switch. The default case can be used for performing a task when none of the cases is true. No break is needed in the default case.

Similar questions