2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00
cheat.sheets/sheets/_scala/hello
2017-05-28 21:10:53 +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!")
}
}