Home > Q&A > body text
阿神2017-04-18 10:47:28
.scala file can be run directly as a script, scala Test.scala 就是直接运行 Test.scala;如果需要编译,使用 scalac(scala compiler)命令,scalac Test.scala
scala Test.scala
scalac(scala compiler)
scalac Test.scala