Question
Asked by:
$8.00 Simple Java Program
- From Computer-Science: Object-Oriented-Programming , Computer-Science: Programming-Methods
- Closed, but you can still post tutorials
- Due on May. 06, 2008
- Asked on May. 06, 2008 at 02:18:19AM
Q:I need the complete code for the following assingment. The code must be as simple as possible but still cover the entire question, as well as contain comments for explanation of code. Must have code by 12:00pm CST, May 6th
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 of the test scores. If any test score in the array is negative or greater that 100, the class should throw an IllegalArgumentException. Demonstrate the class in a program called Scores.



