Understanding Null Safety: Kotlin Fundamentals Tutorial - Part

Опубликовано: 24 Октябрь 2019
на канале: Codetutor
5,135
127

In this video we explore the null safety in a very detailed manner. Kotlin allows us to declare a data type as nullable. All you have do is put "?" when you provide the data type while declaring a variable. With that option on, we basically allow the variable to be assigned a null value. Other than that if you want to invoke any method on such variable, we have to just out ? in front if that variable. Kotlin provides other operators also associated with null safety - not null assertion, elvis operator. Explore all of that in detailed manner in this video.
Follow me on Twitter:   / anilvdeshpande  


Смотрите видео Understanding Null Safety: Kotlin Fundamentals Tutorial - Part онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Codetutor 24 Октябрь 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,135 раз и оно понравилось 127 людям.