Problem Session 26 – Equality, Overrides

2021-11-22

Participation form: https://docs.google.com/forms/d/e/1FAIpQLSfis4ZxJni9foMBQ_wDfTZmMKHhfqHPiIRoet_Xr7LN1X3DQQ/viewform

Pre-class Tasks

(It’s OK to watch these after class in this particular case, too, the class introduces many of these topics)

Videos:

Equals Ourselves

instanceof

Casting

toString()

Code from lecture:

Handout: