मराठी

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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 7: Statements and their Scope - EXERCISE [पृष्ठ १६३]

APPEARS IN

धीरज मेहरोत्रा Computer Science [English] Class 12
पाठ 7 Statements and their Scope
EXERCISE | Q 4. (a) | पृष्ठ १६३
Advertisements
Share
Notifications



      Forgot password?
Use app×