Answers for "return type in kotlin function"

1

return type in kotlin function

//Function having two Int parameters with Int return type
fun sum(a: Int, b: Int): Int {
    return a + b
}
Posted by: Guest on March-18-2020

Browse Popular Code Answers by Language