View Problem

Append to a file

ExpandDiskEdit
scala
val fw = new FileWriter("test.txt", true) ; fw.write("This line appended to file!") ; fw.close()

Submit a new solution for scala
There are 16 other solutions in additional languages (clojure, cpp, csharp, erlang ...)