Kotlin - Null Safety
What will be the output of the following Kotlin code?
val list: List = listOf("apple", null, "banana")
println(list.size)
println(list[1] == null)
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions