Implement the equals
, hashCode
, and toString
methods for the LabeledPoint
class, following the recommendations of the textbook.
However, for the hash code, use Objects.hash
to combine super.hashCode()
and the hash codes of the subclass fields.