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:

source: https://docs.scala-lang.org/scala3/book/collections-classes.html#collections-hierarchy

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:

source: https://dev.java/learn/api/collections-framework/organization/#hierarchy

Python has lists (e.g., ["Scala", "Java", "Python"]); alas, they are always mutable. List is not the only sequence type, however.