Created
November 11, 2018 09:20
-
-
Save ozcanzaferayan/acf01740d59b49ca53e7c20ec0f3aa68 to your computer and use it in GitHub Desktop.
Kotlin Nedir makalesinde null olamayan bir değişkene null ataması
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
// Atama işleminin gerçekleştirilmesi ile null olmayan bir değişken üretiliyor | |
var a: String = "abc" | |
a = null // Derleme hatası verir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment