Answer
`T?` is a nullable type, `?.` is a safe call, `?:` (Elvis) provides a default, and `!!` asserts non-null (throws if it’s null).
val name: String? = null
val len = name?.length ?: 0
// val crash = name!!.length // throws if name is null
Explain null safety in Kotlin.
#null-safety#nullable#elvis-operator