function with two Int
parameters and Int
return type.
sum of 3 and 5 is 8
A function body can be an expression. Its return type is inferred.
sum of 19 and 23 is 42
function with two Int
parameters and Int
return type.
fun sum(a: Int, b: Int): Int {
return a + b
}
A function body can be an expression. Its return type is inferred.
fun sum(a: Int, b: Int) = a + b
Rxjava - Observer - Based on data view willl render (react) karega. trotling -> making stream for execution (Means clicks event fire kr...