scala programming language hello world code example
Example: scala hello world
object HelloWorld {
def main(args: Array[String]): Unit = {
println("Hello, world!")
}
}
object HelloWorld {
def main(args: Array[String]): Unit = {
println("Hello, world!")
}
}