Kotlin Practice Test
Kotlin Kotlin Collections 3
What does `associateBy` do in Kotlin?
Select your answer
A
Groups elements into a list
B
Creates a Map from a collection using a key selector function
C
Zips two collections together
D
Associates each element with a default value
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49