by thebluesky · 14y ago · 0 comments
object HelloWorld extends App {
println("Hello, world!")
}
Rather than manually creating a main method, as is done in the OP blog.It's also possible to simply write:
println("Hello World")
and that would be the entire app, but the preferred way of doing things is to extend AppNo comments yet.