The selection structure

(Display Listing 1.)

Behavior of the selection structure can be paraphrased as follows:

If the value contained in the variable named testResult is the Boolean value true, the method named say is called on the penguin object to display the word Even.

If the value contained in the variable named testResult is false, the method named say is called on the penguin object to display the word Odd.