Kotlin - Collections Fundamentals
You want to create a list of strings that you can add items to later. Which Kotlin code correctly creates this list and adds "orange" to it?
mutableListOf.add("orange") on a mutable list adds the item successfully.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions