Skip to main content

2 docs tagged with "Basics"

View All Tags

map

A Map is another generic collection that holds key-value pairs. For example, here’s a map containing a user’s name and a score:

mutable vs. immutable

There’s a distinction between mutable and immutable data structures in Kotlin.