Scala – Lists
Scala Lists are similar to arrays but there are two important differences.First, lists are immutable, which means elements of a list cannot be changed by assignment.Second, lists represent a linked list whereas arrays are flat.
Scala Lists are similar to arrays but there are two important differences.First, lists are immutable, which means elements of a list cannot be changed by assignment.Second, lists represent a linked list whereas arrays are flat.