3: Controlling program flow

Bruce Eckel’s Thinking in Java Contents | Prev | Next

Like
a sentient creature, a program must manipulate its world and make choices
during execution.

In
Java you manipulate objects and data using operators, and you make choices with
execution control statements. Java was inherited from C++, so most of these
statements and operators will be familiar to C and C++ programmers. Java has
also added some improvements and simplifications.

More by Author

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Must Read