The Conditional Operator and the 'switch' Statement
16. End of Chapter
Answer:
Yes. Any string literal can be used.
End of Chapter
This is the end of the chapter. A strong case can be made for reviewing the following subjects.
- conditional operator The conditional operator.
- switch statement Syntax of the
switch
statement. - switch statement, example Example of the switch statement.
- switch statement, flowchart Flowchart of the switch statement.
- break statement Role of the
break
statment. - switch statement, labels Using several labels per group of statements.