var is like general variable and it’s known as a mutable variable in kotlin and can be assigned multiple times.
val is like Final variable and it’s known as immutable in kotlin and can be initialized only single time.
var is like general variable and it’s known as a mutable variable in kotlin and can be assigned multiple times.
val is like Final variable and it’s known as immutable in kotlin and can be initialized only single time.