Join Slack
Communities
Powered by
What is the difference between internal and protec...
# getting-started
r
Regan Russell
09/21/2017, 12:29 AM
What is the difference between internal and protected in kotlin...?
m
mkporwit
09/21/2017, 12:52 AM
https://kotlinlang.org/docs/reference/visibility-modifiers.html
mkporwit
09/21/2017, 12:52 AM
Protected means visible in this class and subclasses.
mkporwit
09/21/2017, 12:53 AM
Internal is module scope.
r
Regan Russell
09/21/2017, 12:55 AM
thanks
a
arekolek
09/21/2017, 8:07 AM
btw, a module is not a package
https://kotlinlang.org/docs/reference/visibility-modifiers.html#modules
(I thought so at first)
m
mkporwit
09/21/2017, 6:45 PM
Yes, good point.
Open in Slack
Previous
Next