main.scala
// Online Scala compiler (editor) // Write and run Scala online using this editor. object Main { def main(args: Array[String]) = { println("Try clicking the Run button.") } }
Output