Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Run with sbt

  • Create directory structure:
hello-world/
├── build.sbt
├── project
│   └── build.properties
└── src
    └── main
        └── scala
            └── Main.scala
object Hello {
    def main(args:Array[String]) {
        //val name:String = args(0)
        //println("Hello " + name + "!!")
        println("Hello World!")
    }
}