Find the output

Report a typo

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)
}

Select one option from the list
___

Create a free account to access the full topic