O'Reilly logo
  • Syed Quader thinks this is interesting:

var jetSet = Set("Boeing""Airbus")   jetSet += "Lear"   println(jetSet.contains("Cessna"))

From

Cover of Programming in Scala, Third Edition

Note

Although the set is immutable of and in itself, the jetSet is a var.