Method and function calls

Display Listing 1.

We must call the following methods and functions in the order shown below:

The sequential calls to these methods and functions follow the comment "Show various..." in Listing 1.

Eventually, we must embed all four calls into a single statement.

They were separated into individual statements solely for illustration purposes.