Closed sindrenm closed 8 years ago
Since the Person class is not the parent, inheritance-wise (i.e., the companion object doesn't extend Person), it's more correct to call it a wrapper class. It's an “inner object”, so to speak.
Thanks!
Since the Person class is not the parent, inheritance-wise (i.e., the companion object doesn't extend Person), it's more correct to call it a wrapper class. It's an “inner object”, so to speak.