Explain the term in relation to SWITCH: Break
Advertisements
प्रश्न
Explain the term in relation to SWITCH:
Break
स्पष्ट करा
Advertisements
उत्तर
In Java, the break statement is used to terminate the execution of a switch statement immediately after a matching case has been executed. It prevents the execution of subsequent cases and transfers program control to the next statement following the switch block.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
