2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-07 09:20:22 +00:00
cheat.sheets/sheets/scala/hello
2017-05-08 20:27:00 +00:00

10 lines
258 B
Plaintext

// to compile: scalac HelloWorld.scala
// or scalac -d classes HelloWorld.scala
// to execute: scala HelloWorld
// or scala -cp classes HelloWorld
object HelloWorld {
def main(args: Array[String]) {
println("Hello, world!")
}
}