Hello Object

Question

ADDQUESTION

Solution

object HelloObject {
    println("In object")

    def main(args: Array[String]) {
        println("In main")
    }

}
Run this
Comments by Disqus