Kotlin Code Pills — Null Safe
One of the most common problem in many programming languages, like Java, is that while accessing an object of a null reference will result in a null reference exception. Kotlin aimed to solve this common NullReferenceException
. Kotlin uses type inference.