Kotlin - Null Safety
What does Kotlin's null safety feature ensure when working with collections like
List or Set?List or Set?null values.List<String>, it cannot contain null. To allow null, it must be declared as List<String?>.null values in collections declared without nullable types. -> Option Anull in non-nullable collections [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions