Join Slack
why would object (of a data class) `.toString()` not print its contents and only print the type?
# getting-started
o
oday
08/27/2020, 8:27 AM
why would object (of a data class)
.toString()
not print its contents and only print the type?
m
Michael de Kaste
08/27/2020, 9:48 AM
what do you mean. objects aren't data classes, they are singletons.
10
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by