Does anybody know, what was the motivation for not...
# announcements
a
Does anybody know, what was the motivation for not giving access to private members of a nested class?
g
In Kotlin nested classes are static by default. To make them non static like in Java by default, just add
inner
modifier https://kotlinlang.org/docs/reference/nested-classes.html