Getting error on equals method for objects

Printable View