Kotlin Practice Test
Kotlin Kotlin Collections and Generics 2
What does `associateBy` do in Kotlin collections?
Select your answer
A
Creates a Map from a collection using a key selector
B
Groups elements into a set
C
Associates two collections by index
D
Creates a bidirectional map
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49