西交利物浦大学Java PAPER CODE: CSE105/12-13/S1/Resit Coursework
Question 6:What is an accessor method?What is a mutator method?
Number Analysis Class(西交利物浦大学Java代写)
Write a class with a constructor that accepts a file name as its argument. The file contains a
series of numbers, one on each line. The class should read the contents of the file into an array;
it should also include methods to calculate:
The lowest number in the array
The highest number in the array
The total of the numbers in the array
The average of the numbers in the array
The standard deviation of the numbers in the array