Kotlin - Functions
What is wrong with the following Kotlin function call?
fun multiply(x: Int, y: Int) = x * y multiply(x = 4, 5)
fun multiply(x: Int, y: Int) = x * y multiply(x = 4, 5)
x but then a positional argument 5 for y, which is invalid.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions