Closed glarimy closed 6 years ago
Complete this task by CoB tomorrow!
Implemented simplescoringservice and checked in the code
Review comment 1: The method evaluate() is only checking the correctness of the ticked option. It must also update the current score.
Review comment 2: The method getCurrentScore() is supposed to just return the current score.
Refactor the code based on the above comments and check it in.
Refactored the code of simplescoringservice
Good job.
Found a problem with your code. The currentScore property is being used at lines 22, 23, 27 and 28 without initialization. It leads to nullpointerexception. Please initialize the currentScore to new Score() in the contructor of SimpleScoringService.
k sir i am working on it
completed and checked in the code
Thanks!
Implement the SimpleScoringService and make sure that all the test cases are passing.