You don’t have to put it in an object. You can jus...
# announcements
m
You don’t have to put it in an object. You can just do it at the top-level of a file. But do note that if they aren’t explicitly in an object/class, that Kotlin will create a class that is the filename + kt appended to it. Also,
const
will get inlined by the compiler in your Kotlin code, but will also be static so they can be accessed from Java.
f
thanks