Kotlin - Variables and Type System
In Kotlin, when you write
val x = 10, what type does the compiler infer for x?val x = 10, what type does the compiler infer for x?x is 10, which is a whole number.Int.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions