You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
258 B
Plaintext
10 lines
258 B
Plaintext
7 years ago
|
// 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!")
|
||
|
}
|
||
|
}
|