Kotlin - Functions
What is wrong with this Kotlin code?
fun outer() {
fun inner() {
println(message)
}
}
val message = "Hi"
outer()fun outer() {
fun inner() {
println(message)
}
}
val message = "Hi"
outer()15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions