Kotlin - Collections Fundamentals
What will be the output of this Kotlin code?
val numbers = mutableSetOf(1, 2, 3) numbers.add(2) numbers.add(4) println(numbers)
val numbers = mutableSetOf(1, 2, 3) numbers.add(2) numbers.add(4) println(numbers)
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions