0
What is the difference between val and var in kotlin
interest to kotlin
2 Answers
+ 3
Good news!
Kotlin is now live in SoloLearn!
https://www.sololearn.com/Discuss/1319472/?ref=app
https://www.sololearn.com/learn/7792/?ref=app
https://www.sololearn.com/learn/6381/?ref=app
+ 1
val is immutable, like Java's final. var is mutable.