Populate the five-element array under program control

(Display Listing 3.)

This program uses the same program code as the previous program to populate the five-element array with the five objects shown in Figure 15.

Then the program causes them to become visible just like in the previous program.

Figure 15. Final screen shot for the program named Alice0180b.