源代码
object HelloWorld { def main(args: Array[String]): Unit = { println("Hello, world!") } }
运行结果