I have a question regarding the `public` modifier ...
# compiler
c
I have a question regarding the
public
modifier in Kotlin. Since everything is already public by default, is there a use case where you actually need to "force" put that modifier? Basically, at the moment I cannot think of such case, when you need a
public
modifier in front of something.
m
c
That was pretty cool, I didn't know that. Thank you
m
Also if you want to widen the visibility of an inherited function or property.
👍 4