Add Fractions in Java Part 3

This part will take you approximately 25 minutes.

In this video, I finally implement equals(). Of course, this means that I also have to implement hashCode(), because that's in the contract of Object. (Much more on contracts as the course goes on.) You won't believe what happens next! (OK: I don't test-drive it. I even think I manage to justify my choice. You be the judge.)

Complete and Continue