What is the difference between internal and protec...
# getting-started
r
What is the difference between internal and protected in kotlin...?
Protected means visible in this class and subclasses.
Internal is module scope.
r
thanks
a
btw, a module is not a package https://kotlinlang.org/docs/reference/visibility-modifiers.html#modules (I thought so at first)
m
Yes, good point.