Monday, November 24, 2008

The switch Statement


The switch statement is similar to th if statement in that it executes code conditionally based on the of test.

We can show the basic structure of a switch statement is as above.

No comments: