Variables
Variables store data values. Kotlin provides clear rules for declaring and updating variables.
- Declare variables using Kotlin conventions
- Choose meaningful names
val name = "Sturdee"
println(name)Try it Yourself
Run this KOTLIN example in your local environment or course sandbox.