You are viewing a single comment's thread. Return to all comments →
object Solution{ def f():Any = {println("Hello World")} def main(args: Array[String]) { f() }
} does not work an i do not understand why?
Hello World
You are viewing a single comment's thread. Return to all comments →
object Solution{ def f():Any = {println("Hello World")} def main(args: Array[String]) { f() }
} does not work an i do not understand why?