Scala Collections - Mutable and Immutable collections

preview_player
Показать описание
Connect with me or follow me at
Рекомендации по теме
Комментарии
Автор

We define an array using val (which means the array is immutable). How can then an update function modify the contents of the array, when the array is defined as immutable?

Ashwinthegenius