Join Slack
Powered by
Does anybody know, what was the motivation for not...
# announcements
a
Artem Ohanjanyan
09/10/2017, 5:32 PM
Does anybody know, what was the motivation for not giving access to private members of a nested class?
g
gildor
09/10/2017, 11:26 PM
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
5
Views
Open in Slack
Previous
Next