Kotlin - Null Safety
Identify the error in this Kotlin code snippet:
val length = name.length val name: String? = null
val length = name.length val name: String? = null
name is used before it is declared.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions