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

7.3 Object and equals — equal students

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

Complete Student so that two students count as equal when their names match.

The program prints true, false, false. Compare names with equals, not ==.

Your solution