Kotlin - Variables and Type System
Why does Kotlin allow modifying the contents of a
val mutable object but not reassigning the variable itself?val mutable object but not reassigning the variable itself?val semanticsval means the variable reference cannot change after assignment.val fixes the reference, not the object's internal state -> Option B15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions