List in Scala
Val myFirstList = List[1,2]
myFirstList(0) = 1 // This will lead to compilation error
List is a immutable object
Map in Scala
We can have two types of Map: Immutable as well as Immutable. Default one is immutable since scala promotes immutability, but yes by including the import we can define mutable map also.