Last active
March 6, 2020 08:32
-
-
Save NitinPraksash9911/6e656b074465f1f6e5c82091f05223ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Higher Order Function **/ | |
fun funName(a: Int, func: (Int) -> Int) { | |
val s = func(a) | |
println(s) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment