how to run scala program in ubuntu 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!")
}
}