Kotlin - Functions
Identify the error in this Kotlin single-expression function:
fun greet(name: String) = {
"Hello, $name!"
}fun greet(name: String) = {
"Hello, $name!"
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions