मराठी

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×