The program below works with mutable.Buffer[String] and prints the state of the original buffer and the saved record after several operations.
stdout.Main.scala.scala Main.scala
stdout output.3.3.121scala Main.scalaClick a line and write what it prints. Explanation is optional.