Kotlin - Null Safety
This Kotlin code calls a Java method returning a platform type:
What is the main benefit of using
val length = javaObject.getName()?.length ?: 0
What is the main benefit of using
?. here?