Practice · 3 of 4
Spec: extend the class
CHALLENGE
Difficulty: beginner+25 XP
Using the provided Student class, implement winner(Student a, Student b) to spec: the name of the higher-scoring student; if tied, a's name. Use the accessors — do not modify the class.
Press Submit to check your solution.
Back to lesson: Practice: FRQ-style reps