kotlin var and val
snippet in kotlin

kotlin var and val

user1810

val declares a read-only property, var a mutable one