https://kotlinlang.org logo
m

marstran

10/27/2017, 12:08 PM
final val
cannot be overridden. I think you need to use it explicitly only if you inherit the property from another class. I found this in the docs: "A member marked override is itself open, i.e. it may be overridden in subclasses. If you want to prohibit re-overriding, use final."