Summary

   

Java™ 2 Primer Plus
By Steven Haines, Steve Potts

Table of Contents
Chapter 4.  Flow Control


This chapter was all about flow control: How to conditionally execute sections of code, and how to execute sections of code multiple times. This chapter discusses the if and if-then-else statements for general conditional statements, and the switch statement for a specific variety of conditional statements. Iterative statements were discussed in the form of while, do while, and for statements.

Now Java is more than just a glorified calculator, you now have the ability to programmatically make decisions and do some real computations.

The next chapter will take what you have learned thus far to the next level and enable you to create reusable methods that perform specific sets of functionality.


       
    Top
     



    Java 2 Primer Plus
    Java 2 Primer Plus
    ISBN: 0672324156
    EAN: 2147483647
    Year: 2001
    Pages: 332

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net