Kotlin - Functions
Consider this Kotlin code:
What is the output?
fun isPositive(n: Int) = n > 0 println(isPositive(-3))
What is the output?
fun isPositive(n: Int) = n > 0 println(isPositive(-3))
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions