The last two chapters were about arrays.
The example programs used a
main() method which contained the
arrays and did all the computing.
This is not the way programs are usually written.
arrays (and other forms of data)
by passing them as
Each method is like a machine that does
something with an array.
For example, there may be a method
that finds the maximum element of an array,
or a method that adds up all the elements in an array.
(Review:) What is a parameter?