0
What happens default statement omitted......??
there is no value asigned so default statement printed but if we omitted...??
1 Answer
+ 2
Well...nothing. If there is no default and the case statement has no matches...itâs just done.
Try it in code and see. Default is not required and in absence of a match itâs as though you never entered the conditional.