3 ms·
They might be referring to the update methods: val array = new Array[String](10) array.update(7, "hello") array(7) = "hello" // simply calls out to updat
by joshlemer 9y ago
They might be referring to the update methods:
val array = new Array[String](10)
array.update(7, "hello")
array(7) = "hello" // simply calls out to update