Welcome to the fourth lesson of the second module.
In this lesson you’ll learn about the concept of null values and how to work with them in Kotlin.
The null value is a special value that represents the absence of a value.
You’ll also discover the differences between nullable, non-nullable and platform types.
They are essential concepts in Kotlin, so it’s important to understand them well.
Finally, you’ll learn how to implement null checks and how to use null-related operators including
the safe call and the Elvis operators.
This lesson covers the following topics:
how to check for null in conditions
safe casts and null operators
See forum comments
This content was released on May 22 2024. The official support period is 6-months
from this date.
Download course materials from Github
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.