Programming in Kotlin - Part 33: Maps | Ray Wenderlich

Learn how to use Maps in Kotlin to store a mapped collection of data.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4736-programming-in-kotlin/lessons/33

In this video you used the example of students. What if 2 students have same name? I guess roll numbers would have be a better fit. What you say ?

That is one of the features of maps: They have to have unique keys. You could use the full name to make it unique.

1 Like