Kotlin - Functions
Given this Kotlin function:
fun merge(vararg elements: String): String {
return elements.joinToString("-")
}What is the output of merge("x", "y", "z")?
Given this Kotlin function:
fun merge(vararg elements: String): String {
return elements.joinToString("-")
}What is the output of merge("x", "y", "z")?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions