Created
August 3, 2020 20:03
-
-
Save Ayeeta/6d4f757ae22b06fe2a4c98d855c43248 to your computer and use it in GitHub Desktop.
About nulls in kotlin
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
var nullable : String? = null | |
println(nullable?.length) | |
var notNullableExample : String = "something"!! | |
println(notNullableExample) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment