Page 1 of 1

Complete the following Programming Assignment. Use good programming style and all the concepts previously covered. Submi

Posted: Fri Jul 01, 2022 5:41 am
by answerhappygod
Complete The Following Programming Assignment Use Good Programming Style And All The Concepts Previously Covered Submi 1
Complete The Following Programming Assignment Use Good Programming Style And All The Concepts Previously Covered Submi 1 (37.32 KiB) Viewed 35 times
Complete the following Programming Assignment. Use good programming style and all the concepts previously covered. Submit the java files (demo and application) electronically through Canvas by the above due date as well as the supporting documents: UML diagram, Pseudo-Code, Javadoc, etc. (This is the Chapter on Exceptions.) Note that you do NOT have to submit number 1 TestScores Class. However, you must review number 1 as number 2 TestScores Class Custom Exception is derived from number 1. Net: your lab assignment is to submit TestScores Class Custom Exception, which includes the supporting documents listed above. Submit all files via one (1) Zip file by the above due date. Submit TestScores Class Custom Exception 1. Testscores Class 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 than 100, the class should throw an 11legalArgestException. Demonstrate the class in a program. 2. Testscores Class Custom Exception Write an exception class named tavalidtestscore. Modify the Testsceres class you wrote in Programming Challenge 1 so that it throws an Invalidtestscore exception if any of the test scores in the array are invalid.