<https://kotlinlang.slack.com/archives/general/p14...
# announcements
i
https://kotlinlang.slack.com/archives/general/p1480175168007635 It doesn't implement them, unless you have implemented them manually, it rather inherits their implementation from its superclass
Any
. And those implementations provide identity equality and identity hashcode. On the other hand data classes have their
hashCode
and
equals
implemented automatically to provide structural equality of their properties. And pretty formatted
toString
comes as a bonus.