Chapter 4
Classes, Objects and Null Checks
Section 5
Null Checks
If you declare a variable, and you do not assign anything to it, the variable holds nothing, or as we call it in programming, null. What happens when you invoke a function on a variable holding a null reference? Kotlin handles this in a different way than Java. - What is null - How does Kotlin handle null - The Elvis operator