This post originated from an RSS feed registered with Java Buzz
by News Manager.
Original Post: Control Flow
Feed Title: Focus on Java
Feed URL: http://z.about.com/6/g/java/b/index.xml
Feed Description: java.about.com's Focus on Java
<p>Controlling the flow of your program is important. Decisions are made and your code follows the paths you lay out for it. This can be done using the <a href="http://clk.about.com/?zi=1/1hc&zu=http://java.about.com/od/Control-Flow/a/If-Then-Else.htm">the if-then-else statement</a> or a <a href="http://clk.about.com/?zi=1/1hc&zu=http://java.about.com/od/Control-Flow/a/Using-The-Switch-Statement-For-Multiple-Choices.htm">switch statement when you have multiple options</a>. Or you might need to repeat several statements in which case you could use a <a href="http://clk.about.com/?zi=1/1hc&zu=http://java.about.com/od/Control-Flow/a/Determinate-Loops.htm">determinate loop</a> or an <a href="http://clk.about.com/?zi=1/1hc&zu=http://java.about.com/od/Control-Flow/a/Indeterminate-Loops.htm">indeterminate loop</a>.</p>