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.
Scala is a modern multi-paradigm programming language designed to express common programming patterns in a concise, elegant, and type-safe way.