Last active
March 6, 2020 07:16
-
-
Save NitinPraksash9911/4e39ca42a234bd6cbcbfb099eff4e61b 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
/** normal function **/ | |
fun methodName(data: String) { | |
println(data) | |
} | |
/** lambda expression **/ | |
val test = {data:String-> println(data) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment