hello world in scala 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!")
}
}