5 Printing values

Scala has a “shortcut” to Java’s System.out.println (as well as print, printf etc.)

They are all defined in a class that is imported by default (scala.Predef)


See Also opens in new page

Code editor is using Scalakata.com written by Guillaume Massé