Kotlin - Variables and Type System
You want to keep track of a user's score that changes during the game. Which Kotlin code correctly declares and updates this score using
var?var?var score = 0 to allow changes to score.score = score + 10 works because score is mutable.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions