What is the output of this code?
val a = 10
val b = 11
when {
a < 2 -> print(1)
b > 3 -> print(2)
a < b -> print(3)
}
What is the output of this code?
val a = 10
val b = 11
when {
a < 2 -> print(1)
b > 3 -> print(2)
a < b -> print(3)
}
Create a free account to access the full topic