How does Kotlin handle collections more effectively than Java?
By improving iteration speed
By supporting multi-threaded operations
By providing immutable and mutable types
By adding better sorting algorithms
Correct Answer: C — By providing immutable and mutable types
Explanation:
Kotlin distinguishes between mutable and immutable collections, making code more explicit and reducing errors related to unintended modifications.