I would like to define toString()in superclass so, that it detects that class instance is a singleton (an object) and print it's name.
toString()
Is it possible in Kotlin?
Aucun commentaire:
Enregistrer un commentaire