Kotlin - Control Flow as Expressions
Find the error in this Kotlin code:
val max = if (a > b) a else println(max)
val max = if (a > b) a else println(max)
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions