Kotlin Programming Language Basics
Kotlin uses val for immutable variables and var for changeable variables. Kotlin is statically-typed, meaning types are resolved at compile time. Nullable types are indicated by suffixing type with ?
- developer.android.com