Understand Map class with Simple Example : Scala Tutorials # 26

3,323 views · Published 29 December 2016 · 4:46 · Indexed 25 October 2026

Channel: HowTo · 2016 · Education

Watch on YouTube

Scala map is a collection of key/value pairs. Any value can be retrieved based on its key. Keys are unique in the Map, but values need not be unique. Maps are also called Hash tables. There are two kinds of Maps, the immutable and the mutable. The difference between mutable and immutable objects is that when an object is immutable, the object itself can't be changed.

More from this channel