Return a reference to an array object
Then the run method in Listing 3
- encapsulates references to each of the three
images in an array object
- and returns control to the main method in
Listing 7,
- returning a copy of the array object's reference in the process.
The elements in the array could be used for further processing if desired,
- but they are ignored in this program.
Then the main
method terminates.