Computer Science, asked by hamzakhan2346, 6 hours ago

What is the use of default? Is it a compulsory statement?​

Answers

Answered by chatterjeesambrita15
0

The default case in switch on statement is not necessary ,but it useful when no case in switch is satisfied or noy matched then automatically it exiecutes the default statement ,if it is not there ,the switch statement is terminated.

Similar questions