Kotlin - Basics and JVM Runtime
What is the output of this Kotlin code?
fun main() {
val x = 10
val y = 20
val max = if (x > y) x else y
println(max)
}fun main() {
val x = 10
val y = 20
val max = if (x > y) x else y
println(max)
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions