I have a class called TestScores. Within this class, I have another class called NegativeScore. What the class NegativeScore does is throw an exception. The exception being when a score is negative.
The addScore method is defined in TestScores class. What I need to do is set "score" defined in method addScore, which is in the TestScores class, equal to negativeScore, which is defined in the NegativeScore class. I have no idea how to go about this. Please help. Thanks.