Do I need to use a return type in Kotlin code example
Example: return type in kotlin function
//Function having two Int parameters with Int return type
fun sum(a: Int, b: Int): Int {
return a + b
}
//Function having two Int parameters with Int return type
fun sum(a: Int, b: Int): Int {
return a + b
}