Kotlin - Operators and Expressions
What is the output of this Kotlin code?
val x = 7
if (x in 1..5) println("Inside") else println("Outside")val x = 7
if (x in 1..5) println("Inside") else println("Outside")1..5 includes numbers 1, 2, 3, 4, 5.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions