Kotlin - Collections Fundamentals
Which Kotlin function creates an immutable set?
setOf() creates an immutable set, while mutableSetOf() creates a mutable set.setOf() returns a read-only set that cannot be changed after creation.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions