1. Computing & Technology

Discuss in my forum

Paul Leahy

Using the Switch Statement

By , About.com GuideNovember 30, 2011

Follow me on:

Now that JDK 7 has brought Strings to the switch statement it seems like a good time to have have a refresher of control flow statements. Here's a link to using switch statements when you have multiple options you want to choose from and some example code in the making decisions program.

Related Articles:


Comments
No comments yet. Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
Related Searches switch statement

©2012 About.com. All rights reserved.

A part of The New York Times Company.