Arrays, Lists, and Sequences - Squeng/Polyglot GitHub Wiki
Scala has both immutable (use them unless you have a very good reason not to) and mutable (do not use them unless you have a very good reason to) sequences of type Seq
:
Java has arrays (e.g., ["Scala", "Java", "Python"]) and lists of type List
; make sure to understand when they are mutable and when not and what that entails:
Python has lists (e.g., ["Scala", "Java", "Python"]); alas, they are always mutable. List is not the only sequence type, however.