Kotlin - Variables and Type System
Why does Kotlin require
var for mutable references instead of allowing all variables to be mutable by default?var for mutable references instead of allowing all variables to be mutable by default?var explicitly marks variables as mutable, making changes intentional and clear.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions