Kotlin - Variables and Type System
Which of the following is the correct syntax to declare a mutable integer variable
score initialized to 0 in Kotlin?score initialized to 0 in Kotlin?var variableName: Type = value. var score: Int = 0 matches this.val (immutable), var score = Int 0 has invalid syntax, mutable score = 0 uses a non-existent keyword.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions