हिंदी

The absence of which statement leads to fall through situation in switch case statement? - Computer Applications

Advertisements
Advertisements

प्रश्न

The absence of which statement leads to fall through situation in switch case statement?

विकल्प

  • Continue

  • Break

  • Return

  • System.exit(0)

MCQ

उत्तर

Break

Explanation:

The break is a jump statement that terminates the switch case block. In its absence, the flow of control falls through the following cases of the matching case.

shaalaa.com
Introduction of Conditional Statements in Java
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2022-2023 (March) Official
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×