Kotlin - Null Safety
What happens when you try to assign null to a non-nullable variable in Kotlin?
var count: Int = null
var count: Int = null
count causes a compilation error.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions