Task 2 of 7 · 0 solved · 7 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

8.2 Comparable — make a class comparable

Total: 0 / 3 pts
Practice mode — check each part and get hints as you go.
Task

Complete Player so that it implements Comparable<Player>, ordering players by score, lowest first.

The program prints true twice: Ada scored more, so she comes later.

Return the sign — the exact number does not matter.

Your solution