O'Reilly logo

Java™ for COBOL Programmers, Third Edition by John C. Byrne

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7 Flow Control

As with any language, Java defines a set of expressions and rules. The programmer uses the expressions and follows the rules to define the sequence of steps to be performed by the program. In this chapter, I’ll examine the way a Java program manages flow control.

Java borrows heavily from C++, which has borrowed heavily from C. Nowhere is this relationship more evident than in Java’s syntactic definitions, especially the program flow control operators.

CODE BLOCK

A block of code is a set of Java statements grouped by curly ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required