vendredi 18 février 2022

How to obtain superclass of a reflected class in Kotlin?

If Kotlin disallows multiple inheritance, then why KClass<*>.superclasses return a list? How to find that single superclass?





Aucun commentaire:

Enregistrer un commentaire