Substituting parameter values (cont'd)

Display Listing 2.

The program:

The method that called this method (main in this case) is able to control the behavior of the method named turn.

This, in turn controls the behavior of this method named closeOrderDrill.