Implement Scala Program
object HelloWorld {
   def main(args: Array[String]) {
      println("Hello, world!")
   }
}
		
Mac
  • scalac HelloWorld.scala
  • scala -cp . HelloWorld
  • Linux
  • scalac HelloWorld.scala
  • scala HelloWorld