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