https://kotlinlang.org logo
#announcements
Title
# announcements
s

skennedy

08/10/2017, 9:31 PM
but if it’s just declared outside a class, it will be visible to other classes in that file, which isn’t necessarily desired
e

elizarov

08/10/2017, 9:32 PM
Make it private and it will be visible only in this file
s

skennedy

08/10/2017, 9:37 PM
I agree with that statement. I’m talking about a constant that only one of the classes cares about.