हिंदी

Explain the term in relation to SWITCH: Case

Advertisements

प्रश्न

Explain the term in relation to SWITCH:

Case

स्पष्ट कीजिए
Advertisements

उत्तर

In Java, a case is a label used within a switch switch statement to represent a specific value of the switch expression. When the value of the expression matches a case label, the statements associated with that case are executed.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 7: Statements and their Scope - EXERCISE [पृष्ठ १६३]

APPEARS IN

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



      Forgot password?
Use app×