Kotlin Tutorial #9: Nullable Variables
Channel: Peter Sommerhoff
Date: 2016-01-28

COMING IN NOV 2020: Join my free 6-part video series to become a confident software developer: https://www.codealong.tv/f/6-part-video-series-signup
 
Get access to all my Kotlin beginner tutorials: https://www.udemy.com/course/kotlin-course/?referralCode=DC98D1E2CC21399ED406 

Kotlin has this really really cool thing called null safety - and that prevents us from having our applications crash because of those nasty NullPointerExceptions you come across when programming in Java.

In Kotlin, we can use nullable types, also called nullables, to make explicit which variables are allowed to be null and which are not. Kotlin can then check possible null errors at compile-time!

Let me know what other topics you want to learn about (takes just 1 minute): https://petersommerhoff.typeform.com/to/mTEh94