Last active
November 23, 2019 09:12
-
-
Save MostafaNasiri/17a203548100022431461d4e2a1336a3 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
fun main() { | |
val name: String? = "Jack" | |
name?.let { | |
println("Your name is: " + it) | |
println("Your name has " + it.length + " characters") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment