Пашко - Лабораторная работа #1

What if `object` is `null`? And I suggest you using `hashCode` method here.