Self Check
- Why does the InputTester class call in.next
and not in.nextDouble?
- Would the DataSet class still compute the correct
maximum if you simplified the update of the maximum field in
the add method to the following statement?
if (maximum < x) maximum = x;