While variables in Java are by default of the mutable type, those in Scala are immutable by default.