Today I just met Scala. Scala is a programming language which runs on the JVM.
A first glance on the syntax via "Hello world":
object HelloWorld extends Application {
println("Hello, world!")
}
object HelloWorld {
def main(args: Array[String]) =
println("Hello, world!")
}
Keine Kommentare:
Kommentar veröffentlichen