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