Professional Documents
Culture Documents
Switch Statement
Switch Statement
Introduction
● The case and default labels of the switch statement body are
significant only in the initial test that determines where execution
starts in the statement body. Switch statements can be nested. Any
static variables are initialized before executing into any switch
statements.
SOME SWITCH QUESTIONS