Explain the term in relation to SWITCH: Case
Advertisements
Question
Explain the term in relation to SWITCH:
Case
Explain
Advertisements
Solution
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
Is there an error in this question or solution?
