Maksim MartianovPromartianov.dev·Aug 12, 2023Exploring Immutable Arrays in Scala: A Deep Dive into VectorsScala Array is not located in the scala.collection.mutable package, however, they are in fact mutable val arr = Array(1,2,3) arr(1) = 3 println(arr.mkString(",")) // 1,3,3 Immutable alternative to Scala Array is Scala Vector val arr = Vector(1,2,3) ...28 readsScalaAdd a thoughtful commentNo comments yetBe the first to start the conversation.