important points about switch case statement
Answers
Answered by
7
Answer:
Important Points about Switch Case Statements:
The expression provided in the switch should result in a constant value otherwise it would not be valid. ...
Duplicate case values are not allowed.
The default statement is optional. .
The break statement is used inside the switch to terminate a statement sequence.
Answered by
1
Answer:
- Break statement is applied.
- There should be a default case in switch case.
Similar questions