Anyone can help me solve this????
Write a class named TestScores. The class constructor should accept an array of test scores as its argument. The class should have a method that returns the average, highest and lowest score of the test scores. If any test score in the array is negative or greater than 100, the class should throw an IllegalArgumentException. Demonstrate the class in a JAVA program.
Write an exception class named InvalidTestScoreException. Modify the TestScores class you wrote in Question 1 so that it throws an InvalidTestScore Exception if any of the test scores in the array are invalid.
Modify the TestScores class that you created in Question 1 to be serializable. Write a JAVA program that creates an array of at least five TestScore objects and serializes them. Write another JAVA program that deserializes the objects from the file.
Modify your coding in Question 3 so that all the valid scores are written into an ArrayList. Write a Java Program to display all elements you have been added into your ArrayList.
No, we are not a homework service. Make an attempt, and if you stumble along the way post a specific question and we can try and push you in the correct direction. And lastly, your urgency is relative - every question is urgent to those who posted them. Stating yours can be considered quite selfish.
Suggested reading: http://www.javaprogrammingforums.com...e-posting.html
Done! I've solved the problems. Now what?