Read-only variables with val.
Mutable variables with var.
val popcorn = 5
var customers = 10
customers = 8
println(customers) // 8
Read-only variables with val.
Mutable variables with var.
val popcorn = 5
var customers = 10
customers = 8
println(customers) // 8