Kotlin - Variables and Type System
What will be the output of this Kotlin code?
var x = 5 x = 10 println(x)
var x = 5 x = 10 println(x)
x is declared mutable with initial value 5, then changed to 10.x15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions